skill-authoring

Audit COC skill SKILL.md files for frontmatter, tools accuracy, and disclosure coverage across CLIs.

Updated Mar 31, 2026
One-click install
npx skills add https://github.com/terrene-foundation/kailash-coc-claude-rb --skill skill-authoring-terrene-foundation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-authoring
Source: https://github.com/terrene-foundation/kailash-coc-claude-rb/tree/main/.claude/skills/skill-authoring
Command: npx skills add https://github.com/terrene-foundation/kailash-coc-claude-rb --skill skill-authoring-terrene-foundation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you write and audit COC skills so they are discoverable, semantically activated, and correctly constrained by frontmatter, tools, and progressive disclosure rules.

Core Features & Use Cases

  • Activation-ready skill metadata: Enforces a concise name/description frontmatter contract (including ≤200 char, failure-mode language).
  • Progressive disclosure structure: Ensures SKILL.md contains ~80% of routine answers while sub-files handle the long tail.
  • Cross-CLI and hygiene guardrails: Covers neutral phrasing, slot markers, and variant overlay semantics to keep skills portable across CLIs.
  • Auditing and common-mistake remediation: Provides a checklist to detect invisibility (description budget), indexing issues, and tools-list mismatches.

Quick Start

Use the skill-authoring Skill to audit a candidate .claude/skills/<skill-name>/SKILL.md for description-length, failure-mode language, tools accuracy, and whether routine questions can be answered without expanding sub-files.

Frequently Asked Questions about skill-authoring

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write skill metadata for semantic activation across different CLIs?

Skill metadata for semantic activation requires concise frontmatter with name and description fields. Use failure-mode language under 200 characters to ensure correct tool contracts and cross-CLI parity across Claude Code, Codex, and Gemini.

What is progressive disclosure when authoring L2 knowledge skills?

Progressive disclosure is a skill authoring structure where the main SKILL.md file contains roughly 80% of routine answers, while sub-files handle the long tail of edge cases to maintain listing visibility and correct tool contracts.

Why is my custom skill not showing up or activating in the CLI?

Skill invisibility usually stems from description-length budget overruns or missing failure-mode language. Auditing SKILL.md frontmatter constraints and aligning declared tools with body invocations resolves indexing issues and restores semantic activation.

Does skill frontmatter validation require specific tools or dependencies?

Frontmatter validation requires no external dependencies. It enforces internal constraints by checking that the name and description fields exist, descriptions stay under 200 characters, and declared tools match body and sub-file invocations for cross-CLI parity.

What is the best way to audit a SKILL.md file for common mistakes?

Auditing a SKILL.md file involves checking description-length budgets, verifying failure-mode language, confirming tools-list accuracy against body invocations, and ensuring routine questions are answerable without expanding sub-files for proper progressive-disclosure coverage.

When should I not put all skill documentation in the main SKILL.md file?

You should not overload SKILL.md when routine answers exceed the 80% threshold. Move edge-case documentation to sub-files to maintain listing visibility, preserve semantic activation, and ensure cross-CLI overlay structure remains portable.