Agent skill

K9 Ownership Byod Setup

by datadog-labs in datadog-labs/agent-skills

Generate a BYOD ownership preferences reference table for a customer.

MITAuto-check: notesDevOps & Cloud

Install K9 Ownership Byod Setup

skills CLI
$ npx skills add datadog-labs/agent-skills --skill k9-ownership-byod-setup -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install datadog-labs/agent-skills k9-ownership-byod-setup --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/datadog-labs/agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/dd-security/csm/ownership-agent .claude/skills/k9-ownership-byod-setup && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
k9-ownership-byod-setup
GitHub stars
177
Token cost
~1.5k tokens
SKILL.md length
736 words
Files
3 (incl. references, assets)
Skills in repo
39
Repo updated
First seen
Licence
MIT

At a glance

Generate a BYOD ownership preferences reference table for a customer.

  • Works in 4 steps: Determine Needs → Generate CSV → Upload Instructions → …
  • Asked about BYOD setup
  • SKILL.md covers Read first, Overview, Reference Table Details and Workflow, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

K9 Ownership Byod Setup is an agent skill from datadog-labs/agent-skills. Generate a BYOD ownership preferences reference table for a customer. Walks through preference types, generates CSV, and provides upload instructions (UI, API, cloud storage, or Terraform). Use when asked about BYOD setup, preferences reference table, k9ownershippreferences, or ownership customization.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files and assets (for example `references/schema.md`).

It sits in DevOps & Cloud, covering CSV and tabular files and Infrastructure as code. It works with Terraform. The repository describes itself as: Public repository for Datadog Agent Skills. The licence is MIT.

When your agent uses it

  • Asked about BYOD setup
  • Preferences reference table
  • K9ownershippreferences
  • Ownership customization

Example prompts

  • “/k9-ownership-byod-setup”

Requirements

  • Pre-approved tools (allowed-tools): Read, Bash

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Determine Needs
  2. Generate CSV
  3. Upload Instructions
  4. Verify

What it can do on your machine

Read from SKILL.md and the folder at commit d2411cc. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • docs.datadoghq.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

K9 Ownership Byod Setup loads about 1.5k tokens when it runs, and up to ~3.1k if it reads all its reference files. Until then it costs about 82 tokens; SKILL.md has 736 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~82
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Bash

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from datadog-labs/agent-skills at commit d2411cc, republished under its MIT licence (© datadog-labs). 736 words, ~1,495 tokens.

Download SKILL.mdSave it as .claude/skills/k9-ownership-byod-setup/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
k9-ownership-byod-setup
description
Generate a BYOD ownership preferences reference table for a customer. Walks through preference types, generates CSV, and provides upload instructions (UI, API, cloud storage, or Terraform). Use when asked about BYOD setup, preferences reference table, k9_ownership_preferences, or ownership customization.
allowed-tools
Read, Bash
argument-hint
[csv|api|help]
model
sonnet

BYOD Preferences Reference Table Setup

Help customers create and upload a k9_ownership_preferences reference table to customize how the Ownership Agent determines resource owners.

Read first

  • references/schema.md — full schema, column details, validation rules, and per-type examples
  • assets/example.csv — complete working CSV with all three preference types

Overview

The Ownership Agent infers owners for cloud resources with security findings. Ownership preferences let customers customize this by providing rules in a Datadog reference table. The agent reads them automatically.

With preferences you can:

  • Map tags to owners: Resources with specific tag values belong to a particular team or person
  • Exclude accounts: Prevent bot accounts or shared infrastructure from appearing as owners
  • Provide custom guidance: Give the AI engine organization-specific context

Reference Table Details

  • Table name: k9_ownership_preferences (exact name, must match)
  • Effect delay: Changes take effect within 24 hours of upload
  • Schema: 12 columns, all STRING — see references/schema.md for details

Workflow

Step 1: Determine Needs

Ask the customer:

  • Tag mappings: "Do you have tags on your cloud resources that indicate ownership? (e.g., cost-center, team, project)"
  • Exclusions: "Are there bot accounts, service accounts, or shared accounts that should never appear as owners?"
  • Prompt text: "Any organization-specific context that would help determine ownership? (e.g., naming conventions, team structure)"
Step 2: Generate CSV

Read references/schema.md for the full column spec and assets/example.csv for a working template. Build a CSV with all 12 column headers. Each row gets a unique sequential id and fills columns relevant to its preference_type, leaving the rest empty.

Step 3: Upload Instructions

Option A — CSV Upload (UI):

  1. Go to Integrations > Reference Tables in Datadog
  2. Click New Reference Table
  3. Upload the CSV
  4. Set table name to k9_ownership_preferences
  5. Choose primary key: preference_type, tag_key, tag_value, handle
  6. Save

Manual uploads support files up to 4 MB.

Option B — Cloud Storage Sync (S3, Azure Blob, GCS): Best for automated, recurring updates. Store your CSV in a cloud storage bucket and Datadog periodically imports it.

  1. Upload CSV to S3 / Azure Blob / GCS
  2. In Datadog, go to Integrations > Reference Tables
  3. Click New Reference Table, select Cloud Storage as source
  4. Provide storage path and credentials
  5. Set table name to k9_ownership_preferences
  6. Datadog re-imports the file periodically

Cloud storage uploads support files up to 200 MB.

Option C — Terraform: Use the datadog_reference_table resource in the Datadog Terraform provider to manage the table as infrastructure-as-code.

Option D — API: You can manage reference tables programmatically through the Reference Tables API. See the API documentation for available endpoints. Replace the API domain with your Datadog site URL if applicable.

Show full SKILL.md (312 more words)Show less
Step 4: Verify

Changes take effect within 24 hours. To verify:

  1. Identify a resource that matches one of your tag mappings
  2. After 24 hours, check the ownership suggestion for that resource in the Datadog UI
  3. The suggested owner should reflect your configured mapping

Key Behaviors

  • Case-insensitive matching: Tag keys, tag values, handles, exclusion types, and resource types are all matched case-insensitively
  • AND-logic exclusions: All non-empty exclusion fields must match. Empty fields act as wildcards
  • Tag mappings complement, not override: Direct ownership indicators (like team: or service: tags) take precedence. Tag mappings augment, not replace
  • Graceful degradation: If the table doesn't exist or is empty, ownership detection works normally without preferences
  • Empty table clears preferences: Deleting all rows or deleting the table causes cached preferences to expire and be left empty
  • All-or-nothing validation: Any validation failure rejects the entire preference set for that cycle

Troubleshooting

ProblemLikely causeFix
Preferences not taking effect after 24hTable name is wrongMust be exactly k9_ownership_preferences
Preferences not taking effect after 24hMissing column headersAll 12 columns must exist as CSV headers
Preferences not taking effect after 24hFeature not enabled for orgContact support to enable ownership preferences
All preferences rejectedInvalid charactersSee references/schema.md Allowed Characters. No angle brackets, curly braces, or pipes
All preferences rejectedMissing required fieldCheck required fields for each preference type in references/schema.md
All preferences rejectedDuplicate or conflicting rowsSee Duplicate Detection in references/schema.md
All preferences rejectedSize limit exceeded50 tag mappings, 20 exclusions, 3 prompt texts. 1024 bytes/field, 4096/prompt
Tag mapping not matchingSpelling mismatchMatching is case-insensitive but verify exact tag key/value on resource
Exclusion not applyingScoping too narrowAll non-empty fields must match (AND). Leave filters empty for broad exclusions
Preferences cleared unexpectedlyTable emptied or deletedBoth cause cached preferences to expire. Upload a valid CSV to restore

© datadog-labs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references, assets) in dd-security/csm/ownership-agent of datadog-labs/agent-skills.

  • SKILL.md
  • assets/example.csv
  • references/schema.md

Open the folder on GitHubat commit d2411cc

Compare with similar skills

K9 Ownership Byod Setup next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

K9 Ownership Byod Setup compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
K9 Ownership Byod Setup this skilldatadog-labs/agent-skills177—~1.5kAutomated safety check: NotesMIT
Terraform and OpenTofu Guideagentscope-ai/QwenPaw36k6 repos~4.2kAutomated safety check: PassApache-2.0
Terraform Skillantonbabenko/terraform-skill2.4k1 repos~5.1kAutomated safety check: PassApache-2.0
Review Docshashicorp/terraform-provider-aws11k—~1.3kAutomated safety check: PassMPL-2.0
Senior DevOps Toolkitmaslennikov-ig/claude-code-orchestrator-kit2606 repos~1.1kAutomated safety check: NotesCustom licence
Cloudflarehodgef/apiker1277 repos~2.2kAutomated safety check: PassMIT

Similar skills

  • Terraform and OpenTofu Guide

    agentscope-ai/QwenPaw

    Guidance for writing and testing Terraform and OpenTofu code: module structure, naming, test approaches, CI/CD workflows, state handling and security scanning.

    36k GitHub starsUsed in 6 repos~4.2k tokens
    DevOps & CloudAuto-check passed
  • Terraform Skill

    antonbabenko/terraform-skill

    A skill your agent uses when writing, reviewing, or debugging Terraform/OpenTofu modules, tests, CI, scans, or state ops - diagnoses failure mode (identity churn, secrets, blast radius, CI drift…

    2.4k GitHub starsUsed in 1 repo~5.1k tokens
    DevOps & CloudAuto-check passed
  • Review Docs

    hashicorp/terraform-provider-aws

    Official

    Review a Terraform AWS Provider PR's end-user documentation (website/docs//.markdown): whether docs are needed, description openings, argument/attribute style, section structure, tags wording, code…

    11k GitHub stars~1.3k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Senior DevOps Toolkit

    maslennikov-ig/claude-code-orchestrator-kit

    Comprehensive DevOps skill for CI/CD, infrastructure automation, containerization, and cloud platforms (AWS, GCP, Azure). Includes pipeline setup…

    260 GitHub starsUsed in 6 repos~1.1k tokens
    DevOps & CloudAuto-check: notes
  • Cloudflare

    hodgef/apiker

    Comprehensive Cloudflare platform skill covering Workers, Pages, storage (KV, D1, R2), AI (Workers AI, Vectorize, Agents SDK), feature flags (Flagship), networking (Tunnel, Spectrum), security (WAF…

    127 GitHub starsUsed in 7 repos~2.2k tokens
    DevOps & CloudAuto-check passed
  • Terravision Cloud Diagrams

    patrickchugh/terravision

    Draw cloud architecture diagrams for AWS, Azure or GCP with the official provider icon sets, using TerraVision.

    1.6k GitHub stars~5.6k tokensUpdated 4 days ago
    DevOps & CloudAuto-check: notes

More from datadog-labs/agent-skills

All 39 skills in this repo
  • Bootstrap a reproducible LLM Observability experiment through the Python ddtrace SDK or the Node dd-trace SDK.

    177 GitHub stars~2.3k tokensUpdated 2 days ago
    Auto-check passed
  • Dd Account Setup

    datadog-labs/agent-skills

    Ensure the user has an authenticated Datadog account with a valid DDAPIKEY on the right region before any Datadog setup or instrumentation.

    177 GitHub stars~4.5k tokensUpdated 2 days ago
    Auto-check: notes
  • Dd Orchestrator

    datadog-labs/agent-skills

    Entry point for Datadog onboarding. An agent skill from datadog-labs/agent-skills.

    177 GitHub stars~6.7k tokensUpdated 2 days ago
    Auto-check passed
  • Dd Apm

    datadog-labs/agent-skills

    APM - install, onboard, instrument, enable, set up, configure, traces, services, dependencies, performance analysis, Data Streams Monitoring (DSM), queue lag, pipeline latency.

    177 GitHub stars~2k tokensUpdated 2 days ago
    Auto-check passed
  • Agent Install

    datadog-labs/agent-skills

    Install the Datadog Agent on Kubernetes using the Datadog Operator — required before enabling Single Step Instrumentation (SSI), which automatically instruments applications for APM without code…

    177 GitHub stars~2.1k tokensUpdated 2 days ago
    Auto-check: warnings
  • Dd AWS Integration

    datadog-labs/agent-skills

    Set up the Datadog AWS integration with Terraform - creates the cross-account IAM role Datadog assumes (external ID, no stored credentials), attaches the permission policies Datadog publishes, and…

    177 GitHub stars~6.8k tokensUpdated 2 days ago
    Auto-check: notes

Works with

Questions about K9 Ownership Byod Setup

What does K9 Ownership Byod Setup do?

Generate a BYOD ownership preferences reference table for a customer. K9 Ownership Byod Setup is an agent skill from datadog-labs/agent-skills. Generate a BYOD ownership preferences reference table for a customer.

When should I use K9 Ownership Byod Setup?

K9 Ownership Byod Setup fits situations like: asked about BYOD setup; preferences reference table; K9ownershippreferences; ownership customization.

How do I install K9 Ownership Byod Setup in Claude Code?

Run `npx skills add datadog-labs/agent-skills --skill k9-ownership-byod-setup -a claude-code`. Or copy the skill folder (dd-security/csm/ownership-agent in datadog-labs/agent-skills) into .claude/skills/k9-ownership-byod-setup in your project. Claude Code loads it when a task matches its description.

How do I install K9 Ownership Byod Setup in Codex?

Run `npx skills add datadog-labs/agent-skills --skill k9-ownership-byod-setup -a codex`. Or copy the skill folder (dd-security/csm/ownership-agent in datadog-labs/agent-skills) into .agents/skills/k9-ownership-byod-setup in your project. Codex loads it when a task matches its description.

Can I use K9 Ownership Byod Setup in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add datadog-labs/agent-skills --skill k9-ownership-byod-setup -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/k9-ownership-byod-setup, .gemini/skills/k9-ownership-byod-setup, .github/skills/k9-ownership-byod-setup and .opencode/skills/k9-ownership-byod-setup in your project.

What does K9 Ownership Byod Setup need to run?

SKILL.md names no scripts, command-line tools or credentials: K9 Ownership Byod Setup is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Bash.

Does K9 Ownership Byod Setup access the network?

SKILL.md names 1 domain. As links in the text: docs.datadoghq.com. This is read from the text; nothing was executed.

Is K9 Ownership Byod Setup safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does K9 Ownership Byod Setup use?

K9 Ownership Byod Setup is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does K9 Ownership Byod Setup use?

About 1.5k tokens (SKILL.md is roughly 6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.6k tokens, read only when the agent opens those files.

What are the alternatives to K9 Ownership Byod Setup?

Skills that share tags, products or a category with K9 Ownership Byod Setup: Terraform and OpenTofu Guide (agentscope-ai/QwenPaw, 36k stars), Terraform Skill (antonbabenko/terraform-skill, 2.4k stars), Review Docs (hashicorp/terraform-provider-aws, 11k stars) and Senior DevOps Toolkit (maslennikov-ig/claude-code-orchestrator-kit, 260 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains K9 Ownership Byod Setup?

datadog-labs (a GitHub organization) maintains it in datadog-labs/agent-skills, which has 177 GitHub stars. The repository holds 39 skills in this directory. The repository was last updated on October 8, 2026.

Source: datadog-labs/agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.