Borrowing it
Nothing to install: this file belongs to Fmarzochi/EGC. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Fmarzochi/EGC/main/.opencode/commands/skill-create.mdgit clone --depth 1 https://github.com/Fmarzochi/EGCWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/fmarzochi/egc/skill-create)<a href="https://agentmods.dev/commands/fmarzochi/egc/skill-create"><img src="https://agentmods.dev/badge/commands/fmarzochi/egc/skill-create/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/fmarzochi/egc/skill-create"><img src="https://agentmods.dev/badge/commands/fmarzochi/egc/skill-create.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00006 | $0.00536 |
| Opus 5.5 | $0.00002 | $0.00214 |
| Sonnet 5.5 | $0.00001 | $0.00107 |
| Haiku 4.5 | $0.00001 | $0.00054 |
Grade A, and why
skill-create scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 21d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
This is a copy
91% identical to skill-create — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
What it actually says
Skill Create Command
Analyze git history to generate skills for your AI coding tool: $ARGUMENTS
Your Task
- Analyze commits - Pattern recognition from history
- Extract patterns - Common practices and conventions
- Generate SKILL.md - Structured skill documentation
- Create instincts - For continuous-learning-v2
Analysis Process
Step 1: Gather Commit Data
# Recent commits
git log --oneline -100
# Commits by file type
git log --name-only --pretty=format: | sort | uniq -c | sort -rn
# Most changed files
git log --pretty=format: --name-only | sort | uniq -c | sort -rn | head -20
Step 2: Identify Patterns
Commit Message Patterns:
- Common prefixes (feat, fix, refactor)
- Naming conventions
- Co-author patterns
Code Patterns:
- File structure conventions
- Import organization
- Error handling approaches
Review Patterns:
- Common review feedback
- Recurring fix types
- Quality gates
Step 3: Generate SKILL.md
# [Skill Name]
## Overview
[What this skill teaches]
## Patterns
### Pattern 1: [Name]
- When to use
- Implementation
- Example
### Pattern 2: [Name]
- When to use
- Implementation
- Example
## Best Practices
1. [Practice 1]
2. [Practice 2]
3. [Practice 3]
## Common Mistakes
1. [Mistake 1] - How to avoid
2. [Mistake 2] - How to avoid
## Examples
### Good Example
```[language]
// Code example
Anti-pattern
// What not to do
### Step 4: Generate Instincts
For continuous-learning-v2:
```json
{
"instincts": [
{
"trigger": "[situation]",
"action": "[response]",
"confidence": 0.8,
"source": "git-history-analysis"
}
]
}
Output
Creates:
skills/[name]/SKILL.md- Skill documentationskills/[name]/instincts.json- Instinct collection
TIP: Run /skill-create --instincts to also generate instincts for continuous learning.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 21d ago Changed 38314e1f00bd
- 1mo ago First seen · 118 lines · 6 tokens per session scan A eecd5ef3c43e
skill-create is a command published in the GitHub repository Fmarzochi/EGC (67 stars, last pushed today), licensed Apache-2.0. It adds 6 tokens to every session and 536 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 91% identical to skill-create, differing in 4 lines, and is treated as a copy.
Other commands, from other repositories
build
Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.
remove-deadcode
Remove unused code from this project with ultrawork mode, LSP-verified safety, atomic commits.
summarize-changes
Summarize recent changes for standup, PR, or documentation.
pr-reviewer
Review a Git branch as a PR against the base branch (auto-resolved — main/master) judged by THIS repo's contract (CLAUDE.md + .claude/skills/). Three-dot diff, route changed paths to skills, verify (eslint/prettier/tsc + tests), tiered report + confidence. Optional gated fix + commit after the report.
build
A command for carrying out the next unfinished coding task from a plan, including writing tests, implementing the change, checking the project, and committing it. TDD, or test-driven development, means writing a failing test before the code that makes it pass.
git-commit
Create a git commit for the current changes using Conventional Commits-style format.