CO
codex-skill-authoring
Use when creating, renaming, retrofitting, linting, or scaffolding repo-local Codex skills for hushh-research.
Install
mkdir -p .claude/skills/codex-skill-authoring && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/16557" && unzip -o skill.zip -d .claude/skills/codex-skill-authoring && rm skill.zipInstalls to .claude/skills/codex-skill-authoring
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Use when creating, renaming, retrofitting, linting, or scaffolding repo-local Codex skills for hushh-research.110 chars✓ has a “when” trigger
About this skill
Hussh Codex Skill Authoring Skill
Purpose and Trigger
- Primary scope:
codex-skill-authoring-intake - Trigger on creating or renaming repo-local skills, tightening the skill contract, adding skill tooling, or evolving the owner/spoke taxonomy.
- Avoid overlap with
repo-contextanddocs-governance.
Coverage and Ownership
- Role:
owner - Owner family:
codex-skill-authoring
Owned repo surfaces:
.codex/skills
Non-owned surfaces:
repo-contextdocs-governance
Do Use
- Creating new owner or spoke skills under
.codex/skills. - Enforcing the shared local skill contract,
skill.jsonmanifests, and workflow-pack contracts. - Scaffolding skills, manifests, and workflow packs and validating the fleet for drift, overlap, or orphaned surfaces.
Do Not Use
- Broad repo-orientation work that should start with
repo-context. - Product implementation or subsystem-specific work that already belongs to another owner skill.
- Docs-home governance outside the skill system itself.
Read First
.codex/skills/codex-skill-authoring/references/skill-contract.md.codex/skills/codex-skill-authoring/references/truth-first-operating-kernel.md.codex/skills/codex-skill-authoring/references/authoring-workflow.md.codex/skills/repo-context/references/index-contract.md
Workflow
- Run the skill linter before changing the skill fleet so the current drift and coverage state are explicit.
- Decide whether the work needs a new owner, a new spoke, or a tighter existing skill.
- Scaffold with
init_skill.pyusing explicit role, owner family, owned repo surfaces, task types, verification bundles, and optional workflow packs. - Update the repo-context index, workflow packs, and agent-facing docs when a new entrypoint or rename becomes canonical.
- For new owner skills or workflow-pack changes, run a second lint/audit pass after the edits instead of trusting the first clean run.
- For licensing, onboarding, subtree, CI, or branch-governance skill changes, do a third check from the canonical repo entrypoint before calling the taxonomy stable.
- Keep blocking versus advisory skill drift explicit. Only owner/workflow drift that weakens runtime, deploy, release, or test authority should block the core loop; metadata-only drift should stay advisory.
- When PR governance comment templates change, enforce them through
skill_lint.pyso stale public-comment headings such asAcknowledgment,Verification, or maintainer-onlyNextdo not re-enter generated templates. - Keep recurring SOPs short in skills and route durable detail to canonical docs or workflow packs. Skills should point to
runtime-db-fact-sheet.md, the data-plane contract, or a workflow playbook rather than duplicating long table inventories. - Treat compact-kernel lint findings as blocking; report owner lanes as
owner <skill-id>so the human-facing label matches the manifest role. - Enforce the truth-first operating kernel through deterministic smoke fixtures so skills, workflows, and agents do not slide back into blind premise acceptance.
- For industry-grade skills, prefer a compact operating kernel in
SKILL.mdplus focusedreferences/files for detailed gates, templates, and calibration rules. Do not let incident-specific fixes accumulate as repeated inline SOP unless they belong in deterministic scripts or a focused reference. - When retrofitting a skill, scan the full skill body for duplicated rules, stale historical examples, and oversized decision trees. Keep the main skill procedural; move reusable detail into references and executable logic into scripts.
- When a skill asks planning or operator questions, require research-backed question shape from the truth-first kernel: current truth, recommended path, risk if accepted blindly, decision needed, and recommended option first.
- When skill or workflow changes alter docs homes, route through
docs-governanceand thedocs/reference/README.mdclassification model instead of inventing a parallel docs taxonomy.
Handoff Rules
- If the task begins with broad repo discovery or choosing the correct owner family, start with
repo-context. - If the task is docs-home governance outside the skill system, use
docs-governance. - After skill creation or retrofit, hand off to the correct owner skill for the actual domain work.
- Route licensing skill work to
oss-license-governance, contributor setup skill work tocontributor-onboarding, and upstream/subtree sync skill work tosubtree-upstream-governance.
Required Checks
python3 .codex/skills/codex-skill-authoring/scripts/truth_first_smoke.py
python3 .codex/skills/codex-skill-authoring/scripts/compact_kernel_smoke.py
python3 .codex/skills/codex-skill-authoring/scripts/skill_lint.py
python3 .codex/skills/codex-skill-authoring/scripts/skill_fleet_audit.py --text
python3 .codex/skills/codex-skill-authoring/scripts/init_skill.py --name example-owner --role owner --owner-family example-owner --owned-path README.md --task-type repo-orientation --verification-bundle example-owner --workflow-pack example-owner --dry-run
./bin/hushh codex audit
python3 -m py_compile .codex/skills/codex-skill-authoring/scripts/skill_lint.py .codex/skills/codex-skill-authoring/scripts/truth_first_smoke.py .codex/skills/codex-skill-authoring/scripts/init_skill.py .codex/skills/codex-skill-authoring/scripts/compact_kernel_smoke.py .codex/skills/codex-skill-authoring/scripts/skill_fleet_audit.py