Skills
Agent BuildingskillsSkills is an Agent Skill for agent building published in the kagenti/kagenti repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Skill management - create, validate, and improve Claude Code skills
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/kagenti/kagenti/blob/HEAD/.claude/skills/skills/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/skills, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
flowchart TD
START(["/skills"]) --> NEED{"What do you need?"}
NEED -->|New skill| WORKTREE["git:worktree"]:::git
NEED -->|Edit skill| WORKTREE
NEED -->|Audit all| SCAN["skills:scan"]:::skills
NEED -->|Session review| RETRO["skills:retrospective"]:::skills
WORKTREE --> WRITE["skills:write"]:::skills
WRITE --> VALIDATE["skills:validate"]:::skills
VALIDATE -->|Issues| WRITE
VALIDATE -->|Pass| PR["Create PR"]:::git
SCAN -->|Gaps found| WORKTREE
RETRO -->|Improvements| WORKTREE
classDef skills fill:#607D8B,stroke:#333,color:white
classDef git fill:#FF9800,stroke:#333,color:white
Follow this diagram as the workflow.
Skills Management
Skills for managing the skill system itself. All skill development starts in a worktree — never edit skills directly on main.
Worktree-First Gate
Before creating or editing any skill, create a worktree:
git fetch upstream main
git worktree add .worktrees/skills-<topic> -b docs/skills-<topic> upstream/main
Then work in the worktree, validate, and create a PR.
Available Skills
| Skill | Purpose |
|---|---|
skills:write | Create new skills or edit existing ones following the standard template |
skills:validate | Validate skill format, naming, and structure |
skills:scan | Audit repository skills — gaps, quality, connections, diagrams |
skills:retrospective | End-of-session review to identify skill gaps and improvements |
Related Skills
git:worktree- Create worktrees for skill developmenttdd:ci- TDD workflow that uses skill patternsrca:ci- RCA workflow that uses skill patternsmeta:write-docs- Documentation writing guidelines
Developer Guide
See docs/developer/claude-code-skills.md for the full guide on why skills exist, how the system works, and best practices.