skill-create

skill-create is a command for Claude Code from fmflurry/settings-opencode. It costs 6 tokens per session (424 once invoked), scanned A, a copy of skill-create, MIT.

A command that studies Git history to find repeated project patterns and turns them into an OpenCode skill. It examines commits, changed files, coding practices, and review feedback.

In plain words
What is it for?
Use it to create skill documentation based on commit messages, file structures, implementation patterns, and recurring review comments.
Why use it?
It helps capture conventions that may otherwise remain implicit in the team’s past work.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions subagents; mentions OpenCode.

Good fit Use it to create skill documentation based on commit messages, file structures, implementation patterns, and recurring review comments.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/fmflurry/settings-opencode/skill-create
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/fmflurry/settings-opencode

Made for: Claude Code.

Wrote 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.

agentmods badge for skill-create

README.md
[![agentmods](https://agentmods.dev/badge/commands/fmflurry/settings-opencode/skill-create/github.svg)](https://agentmods.dev/commands/fmflurry/settings-opencode/skill-create)
Your own site
<a href="https://agentmods.dev/commands/fmflurry/settings-opencode/skill-create"><img src="https://agentmods.dev/badge/commands/fmflurry/settings-opencode/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.

agentmods 80×15 button for skill-create

Your own site · 80×15
<a href="https://agentmods.dev/commands/fmflurry/settings-opencode/skill-create"><img src="https://agentmods.dev/badge/commands/fmflurry/settings-opencode/skill-create.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 424 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 86% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00006 $0.00424
Opus 5.5 $0.00002 $0.00170
Sonnet 5.5 $0.00001 $0.00085
Haiku 4.5 $0.00001 $0.00042

Measured 26d ago against content hash ecbc35d23bfe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 26d 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.

Origin

This is a copy

86% identical to skill-create — 42 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.

.claude/commands/skill-create.md · 106 lines

What it actually says

Skill Create Command

CC: no dedicated subagent — the primary agent runs these steps directly.

Analyze git history to generate OpenCode skills: $ARGUMENTS

Your Task

  1. Analyze commits - Pattern recognition from history
  2. Extract patterns - Common practices and conventions
  3. Generate SKILL.md - Structured skill documentation

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

```[language]
// What not to do
```

Output

Creates:

  • skills/[name]/SKILL.md - Skill documentation
Changes

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.

  1. 26d ago Changed · +2 lines ecbc35d23bfe
  2. 1mo ago First seen · 104 lines · 6 tokens per session scan A 69b2633cf86d

Subscribe to this mod's changes

skill-create is a command published in the GitHub repository fmflurry/settings-opencode (171 stars, last pushed yesterday), licensed MIT. It adds 6 tokens to every session and 424 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 86% identical to skill-create, differing in 42 lines, and is treated as a copy.