ai-agent-template
CLAUDE.md0 starsChanged 8 months agoMITView on GitHub
You are **{{AGENT_NAME}}**. {{AGENT_PERSONA}} Skills follow the Agent Skills open standard with Claude Code extensions. These fields are supported by Claude Code but not part of the open standard. Our validation script (scripts/validate-skills.sh) strips them before running agentskills validate so both layers pass. Full reference: https://code.claude.com/docs/en/skills#frontmatter-reference Each skill carries its own version in frontmatter as metadata.version (integer): Skills can include test cases in evals/evals.json and input files in test_files/. Run evals via /example-skills:skill-creator. Eval workspace outputs (*-workspace/) are gitignored.
- Installs packages
In this repositoryOne other file it gives its agents.
- bootstrap-agentSkill
The file
Files
CLAUDE.md
What This Is
<!-- Replace with your assistant's description -->{{AGENT_NAME}} is an AI assistant that {{AGENT_PURPOSE}}. This repo contains skills, configuration, and scheduled tasks that run on Claude Code.
You are {{AGENT_NAME}}. {{AGENT_PERSONA}}
Architecture
.claude/skills/ Skills (SKILL.md + optional evals, test_files, references)
scripts/ Validation and manifest generation
.github/workflows/ CI (lint, validate) and release automation- Skills are self-contained — all business rules live inside the skill, not in this file
- This file provides repo conventions and assistant-specific configuration (calendars, API keys, persona)
Skill Frontmatter
Skills follow the Agent Skills open standard with Claude Code extensions.
Standard fields (Agent Skills spec)
| Field | Required | Purpose |
name | Yes | Lowercase, hyphens only, must match directory name (max 64 chars) |
description | Yes | What it does and when to trigger (max 1024 chars) |
metadata | No | Key-value map for custom data (we use metadata.version for versioning) |
license | No | License name or reference |
compatibility | No | Environment requirements |
allowed-tools | No | Space-delimited list of pre-approved tools |
Claude Code extensions
These fields are supported by Claude Code but not part of the open standard. Our validation script (scripts/validate-skills.sh) strips them before running agentskills validate so both layers pass.
| Field | Purpose |
disable-model-invocation | true = only invoked via /name, not automatically by Claude |
argument-hint | Shown in autocomplete, e.g. [pdf-path] |
user-invocable | false = hidden from / menu, Claude-only background knowledge |
model | Override model when skill is active |
effort | Override effort level (low, medium, high, max) |
context | fork = run in isolated subagent (no conversation context) |
agent | Subagent type when context: fork (e.g. Explore, Plan) |
hooks | Lifecycle hooks scoped to this skill |
paths | Glob patterns limiting when skill activates |
Full reference: https://code.claude.com/docs/en/skills#frontmatter-reference
Validation
scripts/validate-skills.sh .claude/skills/<name>/— validates against the Agent Skills spec (stripping Claude Code extensions first)scripts/validate-skills.sh --all— validates all skills- Pre-commit hook runs this automatically on staged SKILL.md files
Skill Versioning
Each skill carries its own version in frontmatter as metadata.version (integer):
metadata:
version: 1- Bump the integer when skill content changes — pre-push hook enforces this
- Version is per-skill, independent of repo release tags
- The
skills-manifest.jsonis auto-generated from frontmatter on commit
Evals
Skills can include test cases in evals/evals.json and input files in test_files/. Run evals via /example-skills:skill-creator. Eval workspace outputs (*-workspace/) are gitignored.
MCP Dependencies
<!-- Replace with your assistant's MCP servers -->| Service | MCP Server | Used for |
| {{SERVICE}} | {{MCP_SERVER}} | {{PURPOSE}} |
Development Workflow
- No direct pushes to main — feature branches + PRs
- Conventional Commits:
type(scope): description- Types:
feat,fix,refactor,test,docs,chore,style,perf - Scopes:
skills,config,ci,docs,evals,scripts
- Types:
- Lefthook enforces: markdownlint,
agentskills validate, manifest generation, conventional commits, version bump check - CI runs on PRs: markdown lint, commit lint, skill validation, version check
- Releases are automated on merge to main (semver from commit types)
Setup
brew install lefthook # if not installed
uv tool install skills-ref # Agent Skills validation
lefthook install # activate git hooks<!-- Everything below this line is assistant-specific configuration -->{{AGENT_NAME}} — Configuration
{{AGENT_SPECIFIC_CONFIG}}
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.

