add-skill
Skill241 starsChanged 3 months agoApache-2.0View on GitHub
Use this skill when the user asks to "add a skill", "create a skill", "new skill", "write a skill for", "skill for cx <something>", "add a user-facing skill", "create a SKILL.md", "teach an agent how to use", "agent skill for", "document a command as a skill", "make a skill", "add skill to skills/", "create agent instructions for", "build a skill", or wants to create a new user-facing skill in the skills/ directory that teaches AI agents how to use a cx CLI command. Use this even when the user is following the add-command workflow and reaches the skill creation step.
35 other projects use a version of this.
Adopted by
Most recently taken up by
- amanuelmamo7/Skillstheir own version, first seen Nov 7, 2026
- phucbm/skillstheir own version, first seen Oct 13, 2026
- Paldom/mac-os-setup-skillstheir own version, first seen Oct 13, 2026
- Guksu/sutatheir own version, first seen Oct 13, 2026
- OpenHands/extensionstheir own version, first seen Oct 8, 2026
- joelhooks/joelclawtheir own version, first seen Oct 8, 2026
Used with
Projects with it also use publish-repo.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
lachlanchenSkillpublish-repo
Publish a local git repository to GitHub from Codex or AgInTi with safe commit discipline, metadata, citation, and push verification. For lachlanchen or LazyingArt repositories, default to the complete 11-language profile README, banner, support panel, and sponsor package.
Also in 19 projects that use this
Other versions35 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 35
- OpenHands/extensions★ 167same name
- zeuikli/claude-code-workspace★ 155same name
- microsoft/copilot-studio-plugin★ 82same name
- joelhooks/joelclaw★ 65same name
- Guksu/suta★ 18same name
- blutarche/skills★ 4same name
- EvanOman/claude-skills-public★ 4same name
- Joshua-Palamuttam/workbench-template★ 3same name
- Paldom/python-skills★ 3same name
- phucbm/skills★ 2same name
25 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository23 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- add-commandSkill
- create-prSkill
- run-testsSkill
- coralogix-docsSkill
- cx-ai-centerSkill
- cx-alertsSkill
- cx-casesSkill
- cx-cliSkill
- cx-coding-agentsSkill
- cx-cost-optimizationSkill
- cx-dashboardsSkill
- cx-data-pipelineSkill
- cx-infraSkill
- cx-observability-setupSkill
- cx-ollySkill
- cx-platform-adminSkill
- cx-profilingSkill
- cx-rum-setupSkill
- cx-search-dashboardSkill
- cx-service-catalogSkill
- cx-slosSkill
- cx-telemetry-queryingSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. 0 are common, 7 are distinctive, and 11 are very specific to this project.
0
Common
Most of the 31 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Before writing anything, answer these questions:
- Distinctive: line 26
Before writing any skill, read existing ones to internalize the project's patterns.
- Very specific: line 45
Create skills/cx-<domain-name>/SKILL.md.
- Very specific: line 57
Follow this order (see contributing/adding-a-skill.md § "Complete Template" for a starting point):
- Distinctive: line 67
Write for an AI agent - be explicit about what to run and in what order
- Distinctive: line 68
Use code blocks for every CLI invocation
- Very specific: line 71
Keep SKILL.md under ~200 lines.
- Very specific: line 75
Follow contributing/adding-a-skill.md § "Reference Files" for when and how to create references/ files, and § "Updating skills/README.md" …
- Distinctive: line 79
Before creating a new reference file, check whether the content is language-level or telemetry-pillar material:
- Very specific: line 85
If your skill needs a file from skills/shared/:
- Very specific: line 86
Add your skill and file list to scripts/sync-shared-references.sh
- Very specific: line 87
Run bash scripts/sync-shared-references.sh — it copies the file(s) into your references/
- Very specific: line 88
Commit the sync script change and the generated references/ copies together
- Distinctive: line 90
If you're adding a new shared reference:
- Very specific: line 91
Create it in skills/shared/
- Distinctive: line 93
Run the script to generate copies, then commit everything
- Very specific: line 102
Shared references synced: - if the skill uses files from skills/shared/, confirm bash scripts/sync-shared-references.sh was run and the …
- Very specific: line 107
Use the PR checklist from contributing/adding-a-skill.md § "PR Checklist" in your PR description.
“Common” is measured: kept by at least 6 in 10 of the 31 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Add a User-Facing Skill
End-to-end workflow for creating a skill in skills/ that teaches AI agents how to use a cx CLI command. This skill is often invoked from add-command Step 6, but can also be used standalone when documenting an existing command.
contributing/adding-a-skill.md has the full reference guide and a copy-pasteable template. Read it alongside this workflow.
Step 0: Understand the Domain
Before writing anything, answer these questions:
- What cx command are you documenting? Identify the command and all its subcommands (e.g.,
cx alerts list,cx alerts get,cx alerts create). - What can the user do with it? List the key operations, flags, and output formats supported.
- Who is the audience? Skills are consumed by AI agents, not humans directly. Write instructions an agent can follow step-by-step to accomplish a user's goal.
- Is there dense reference material? Schemas, enum catalogs, field references, or language syntax exceeding ~100 lines belong in a separate
references/file.
Step 1: Read Existing Skills
Before writing any skill, read existing ones to internalize the project's patterns. Agents that study existing skills first produce consistent, high-quality results rather than inventing new formats.
Always read:
contributing/adding-a-skill.md- full guide with directory structure, frontmatter conventions, reference file rules, and a copy-pasteable templateskills/README.md- the public catalog you'll update in Step 4
Study at least two existing skills:
| Skill | Why study it |
skills/cx-alerts/SKILL.md | REST-based command with rich examples, JSON payloads, investigation workflow; uses both shared and skill-local reference files |
skills/cx-telemetry-querying/SKILL.md | Gateway skill that loads shared reference files per pillar — good model for cross-pillar routing and reference-loading patterns |
skills/cx-dashboards/SKILL.md | Complex multi-step workflow; uses shared references (dataprime, promql, logs, spans) plus skill-local references |
skills/cx-cost-optimization/SKILL.md | Workflow skill covering 5 commands unified by "reduce costs" intent — good model for multi-command skills |
Pick the two closest to what you're building and read them completely.
Step 2: Create Directory and Write SKILL.md
Create skills/cx-<domain-name>/SKILL.md. All skill directories use the cx- prefix. Use the directory structure, frontmatter format, and templates from contributing/adding-a-skill.md § "Directory Structure" through "Complete Template" (single-command) or § "Workflow Skills" (multi-command).
Writing effective trigger descriptions
The description frontmatter field is the primary trigger mechanism - agents use it to decide when to activate a skill. This is the single most important line in the file. Write at least 10 trigger phrases covering:
- Explicit command names (
"list alerts","get alert by ID") - User intents (
"investigate alert failures","debug noisy alerts") - Synonyms and variations (
"check","find","search","analyze") - Domain jargon (
"SLO breach","error budget")
Body structure
Follow this order (see contributing/adding-a-skill.md § "Complete Template" for a starting point):
- Title and intro - one sentence explaining what the skill covers and which
cxcommands it uses - CLI Commands table -
| Command | Purpose | Key flags |for every subcommand. Include-o json/-o toonand-p <profile>notes. - Workflow / Investigation steps - numbered steps an agent should follow. Start with discovery, end with verification.
- Key Principles - 4-6 bullet points: use
-o jsonwithjq, multi-profile behavior, always verify, etc. - Additional Resources - links to
references/files and related skills
Style guidelines
- Write for an AI agent - be explicit about what to run and in what order
- Use code blocks for every CLI invocation
- Include realistic examples with actual flag values, not placeholders
- Show
jqfiltering examples when the command supports-o json - Keep SKILL.md under ~200 lines; move dense material to
references/
Step 3: Add Reference Files and Update README
Follow contributing/adding-a-skill.md § "Reference Files" for when and how to create references/ files, and § "Updating skills/README.md" for adding the skill to the public catalog.
Shared vs. skill-local references
Before creating a new reference file, check whether the content is language-level or telemetry-pillar material:
- Language guides (DataPrime syntax, PromQL guidelines) →
skills/shared/ - Telemetry-pillar how-tos (logs querying, spans querying, metrics workflow, RUM) →
skills/shared/ - Skill-specific schemas or templates (alert JSON schemas, dashboard widget templates) →
skills/cx-your-domain/references/
If your skill needs a file from skills/shared/:
- Add your skill and file list to
scripts/sync-shared-references.sh - Run
bash scripts/sync-shared-references.sh— it copies the file(s) into yourreferences/ - Commit the sync script change and the generated
references/copies together
If you're adding a new shared reference:
- Create it in
skills/shared/ - Register it in the sync script for all consuming skills
- Run the script to generate copies, then commit everything
Step 4: Verify
- Frontmatter -
namematches directory,descriptionhas 10+ trigger phrases,metadata.versionis"0.1.0" - Body completeness - has CLI Commands table, workflow steps, key principles, and additional resources (if references exist)
- Reference links - any
references/paths in SKILL.md point to files that actually exist - README updated -
skills/README.mdhas the new row - No bloat - SKILL.md doesn't duplicate >100 lines of material that belongs in
references/ - Shared references synced - if the skill uses files from
skills/shared/, confirmbash scripts/sync-shared-references.shwas run and the generatedreferences/copies are committed - Agent readability - would an AI agent know exactly what to do after reading this skill? If not, add missing steps or examples
For advanced trigger optimization, use the /skill-creator skill to run eval-driven description testing and iterate on your trigger phrases.
Use the PR checklist from contributing/adding-a-skill.md § "PR Checklist" in your PR description.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

