| name | skill-create |
| description | Imported from everything-codex command skill-create |
| version | 0.1.0 |
| source | fork |
| checksum | d56e4f2dfbc58d31166886cba2f4c12b7cb614b5714c6eb4ecd42de47f8373e6 |
| updated_at | "2026-02-11T01:29:16.000Z" |
| intent | skill-management |
| layer | meta |
name: skill-create
description: Analyze local git history to extract coding patterns and generate SKILL.md files. Local version of the Skill Creator GitHub App.
allowed_tools: ["Bash", "Read", "Write", "Grep", "Glob"]
$skill-create - Local Skill Generation
Native Subagent Protocol (Codex)
Codex supports native subagents. Delegate with spawn_agent, coordinate with send_input, collect via wait_agent, and clean up with close_agent.
Execution preference:
- Use native subagents first for independent workstreams (parallel when possible).
- Merge results in main thread and run final verification.
- Fallback only when delegation is blocked: use the
[ANALYST]/[ARCHITECT]/[EXECUTOR]/[REVIEWER] structure in a single response.
Minimal orchestration pattern:
spawn_agent -> send_input (optional) -> wait_agent -> close_agent
Analyze your repository's git history to extract coding patterns and generate SKILL.md files that teach Codex your team's practices.
Usage
$skill-create
$skill-create --commits 100
$skill-create --output ./skills
$skill-create --instincts
What It Does
- Parses Git History - Analyzes commits, file changes, and patterns
- Detects Patterns - Identifies recurring workflows and conventions
- Generates SKILL.md Drafts - Creates first-pass Codex skill files
- Prepares Handoff - Produces input for
$skill-development refinement
- Optionally Creates Instincts - For the continuous-learning-v2 system
Recommended Combined Workflow
Treat $skill-create as draft generation, then run quality refinement and validation:
$skill-create - Generate skill drafts from repo history
$skill-development - Refine structure, trigger quality, and progressive disclosure
$skill-quality-analyzer - Score and identify documentation defects
$skill-tester - Verify functional behavior with concrete test prompts
Definition of done:
- Trigger phrases are unambiguous
- Guidance is executable in current Codex CLI
- Governance checks pass in the repository
Analysis Steps
Step 1: Gather Git Data
git log --oneline -n ${COMMITS:-200} --name-only --pretty=format:"%H|%s|%ad" --date=short
git log --oneline -n 200 --name-only | grep -v "^$" | grep -v "^[a-f0-9]" | sort | uniq -c | sort -rn | head -20
git log --oneline -n 200 | cut -d' ' -f2- | head -50
Step 2: Detect Patterns
Look for these pattern types:
| Pattern | Detection Method |
|---|
| Commit conventions | Regex on commit messages (feat:, fix:, chore:) |
| File co-changes | Files that always change together |
| Workflow sequences | Repeated file change patterns |
| Architecture | Folder structure and naming conventions |
| Testing patterns | Test file locations, naming, coverage |
Step 3: Generate SKILL.md
Output format:
---
name: {repo-name}-patterns
description: Coding patterns extracted from {repo-name}
version: 1.0.0
source: local-git-analysis
analyzed_commits: {count}
---
# {Repo Name} Patterns
## Commit Conventions
{detected commit message patterns}
## Code Architecture
{detected folder structure and organization}
## Workflows
{detected repeating file change patterns}
## Testing Patterns
{detected test conventions}
Step 4: Generate Instincts (if --instincts)
For continuous-learning-v2 integration:
---
id: {repo}-commit-convention
trigger: "when writing a commit message"
confidence: 0.8
domain: git
source: local-repo-analysis
---
Prefix commits with: feat:, fix:, chore:, docs:, test:, refactor:
- Analyzed {n} commits
- {percentage}% follow conventional commit format
Example Output
Running $skill-create on a TypeScript project might produce:
---
name: my-app-patterns
description: Coding patterns from my-app repository
version: 1.0.0
source: local-git-analysis
analyzed_commits: 150
---
# My App Patterns
## Commit Conventions
This project uses **conventional commits**:
- `feat:` - New features
- `fix:` - Bug fixes
- `chore:` - Maintenance tasks
- `docs:` - Documentation updates
## Code Architecture
src/
├── components/ # React components (PascalCase.tsx)
├── hooks/ # Custom hooks (use*.ts)
├── utils/ # Utility functions
├── types/ # TypeScript type definitions
└── services/ # API and external services
## Workflows
### Adding a New Component
1. Create `src/components/ComponentName.tsx`
2. Add tests in `src/components/__tests__/ComponentName.test.tsx`
3. Export from `src/components/index.ts`
### Database Migration
1. Modify `src/db/schema.ts`
2. Run `pnpm db:generate`
3. Run `pnpm db:migrate`
## Testing Patterns
- Test files: `__tests__/` directories or `.test.ts` suffix
- Coverage target: 80%+
- Framework: Vitest
GitHub App Integration
For advanced features (10k+ commits, team sharing, auto-PRs), use the Skill Creator GitHub App:
Related Commands
$instinct-import - Import generated instincts
$instinct-status - View learned instincts
$evolve - Cluster instincts into skills/agents
Part of Everything Codex