auto-skill
Evaluate current session for skill-worthy workflows and create reusable skills.
Skill by claude-mods
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/0xdarkmatter-auto-skill
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/auto-skill
Tools it pre-approves 6
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
ReadGlobGrepBashWriteEdit
What's inside
- Skill name
auto-skill- Description
- Evaluate current session for skill-worthy workflows and create reusable skills. Triggers on: auto-skill, create skill from session, save workflow, capture this as a skill.
- License
- MIT
- Allowed tools
- Read, Glob, Grep, Bash, Write, Edit
- Metadata
- author: claude-mods · depends-on: skill-creator · related-skills: skill-creator, introspect
- Instructions
- 276 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
- Pre-approves any shell command
Files (7)
- SKILL.md
- .gitkeep · assets/
- .gitkeep · references/
- .gitkeep · scripts/
- evaluate.sh · scripts/
- track-tools.sh · scripts/
- run.sh · tests/
SKILL.md (first lines)
# Auto-Skill Evaluate the current session and create a reusable skill from complex workflows. Enforces the [Agent Skills specification](https://agentskills.io/specification) and quality gates. ## When This Triggers - User runs `/auto-skill` - Stop hook suggests it after a complex session (8+ mutating ops across 4+ tool types) - User says "save this as a skill", "capture this workflow", etc. ## Command Router Parse arguments after `auto-skill` (or `/auto-skill`): | User says | Action | |-----------|--------| | `auto-skill` (no args) | Run the full evaluation procedure below | | `auto-skill off` | Disable globally: `touch ~/.claude/auto-skill.disable` and confirm | | `auto-skill on` | Enable globally: `rm -f ~/.claude/auto-skill.disable` and confirm | | `auto-skill off --project` | Disable for this project: `mkdir -p .claude && touch .claude/auto-skill.disable` | | `auto-skill on --project` | Enable for this project: `rm -f .claude/auto-skill.disable` | | `auto-skill status` | Show current state (see Status section below) | | `auto-skill pending` | Show all entries in `~/.claude/auto-skill/pending.log` (past suggestions the user may have missed) | | `auto-skill clear` | Truncate `~/.claude/auto-skill/pending.log` after confirming with user | ### Status When the user runs `auto-skill status`, check and report: ```bash # Global toggle [ -f "$HOME/.claude/auto-skill.disable" ] && echo "Global: OFF" || echo "Global: ON" # Project toggle [ -f ".claude/auto-skill.disable" ] && echo "Project: OFF" || echo "Project: ON" # Hook scripts installed? [ -x "$HOME/.claude/auto-skill/track-tools.sh" ] && echo "Hooks: installed" || echo "Hooks: not installed" # Active session tracking? ls /tmp/claude_autoskill_* 2>/dev/null | head -1 && echo "Tracking: active" || echo "Tracking: idle" ``` Report results in a brief table. ## Procedure ### Step 1: Evaluate the Session Review the conversation history in the current session. Ask yourself: 1. **Was this a multi-step workflow?** (3+ distinct actions, not just read/search) 2. **Is it reusable?** Would someone do this again - in this project or another? 3. **Is it novel?** Does an existing skill already cover this? Check with: ```bash ls ~/.claude/skills/ 2>/dev/null; ls .claude/skills/ 2>/dev/null ``` 4. **Is it teachable?** Can it be described as a clear procedure with steps? If ANY answer is no, tell the user: "This session doesn't look like a good skill candidate" and explain which criterion failed. **Stop here.** ### Step 2: Duplicate Detection Before creating, check for overlapping skills: ```bash # List existing skill names and descriptions for f in ~/.claude/skills/*/SKILL.md .claude/skills/*/SKILL.md 2>/dev/null; do [ -f "$f" ] || continue name=$(head -10 "$f" | grep '^name:' | sed 's/name: *//') desc=$(head -10 "$f" | grep '^description:' | sed 's/description: *//' | tr -d '"') echo "$name: $desc" done ``` **Block if:** - Exact name match exists - 60%+ word overlap in proposed name vs existing name - 50%+ word overlap in proposed description vs existing description If overlap detected, suggest extending the existing skill instead. ### Step 3: Draft the Skill Propose a skill to the user with: | Field | Value | |-------|-------| | **Name** | kebab-case, descriptive, matches what it does | | **Description** | 1-2 sentences with trigger keywords | | **Procedure** | Numbered steps extracted from the session workflow | | **Tools needed** | Which tools the skill requires | Ask the user to confirm or adjust before creating. ### Step 4: Quality Gates Before writing, validate: | Gate | Requirement | Why | |------|-------------|-----| | **Name format** | `^[a-z][a-z0-9-]*$`, 1-64 chars | Agent Skills spec | | **Description** | Non-empty, 1-1024 chars, includes trigger phrases | Spec + discovery | | **Procedure** | Must contain numbered steps, `## Procedure`/`## Steps`, or checkboxes | Ensures actionable content | | **Min content** | 200+ characters in body (after frontmatter) | Rejects trivial stubs | | **License** | `license: MIT` | claude-mods convention | | **Metadata** | `metadata.author: claude-mods` | claude-mods convention | | **No non-standard top-level keys** | Only `name`, `description`, `license`, `compatibility`, `allowed-tools`, `metadata` | Agent Skills spec | If any gate fails, explain which one and help the user fix it. ### Step 5: Create the Skill Write the skill to the project's skill directory: ``` .claude/skills/<skill-name>/ SKILL.md scripts/.gitkeep
From 0xDarkMatter/claude-mods, MIT.
More from 0xDarkMatter/claude-mods
- 0.654score
claude-code-ops
claude-mods
Claude Code internals - hooks, skill frontmatter, headless mode, and extension debugging, current as of June 2026.
SkillAFreshness: A★ 75Claude Code +9 - 0.654score
git-ops
claude-mods
Git + worktree orchestrator: status survey, per-worktree triage, commits, PRs, branches, releases, rebases — reads inline, writes to a background agent.
SkillAFreshness: A★ 75Claude Code +9 - 0.654score
claude-api-ops
claude-mods
Building applications ON Claude - the Anthropic API and Claude Agent SDK.
SkillAFreshness: A★ 75Claude Code - 0.654score
loop-ops
claude-mods
Design and safely run OUTER loops - scheduled discover-triage-implement-verify-escalate agent loops.
SkillAFreshness: A★ 75Claude Code +9 - 0.654score
a11y-ops
claude-mods
Web accessibility end to end: WCAG 2.2 AA, EAA and ADA Title II obligations, audits (axe, pa11y, keyboard, screen reader), the common failures, accessibility…
SkillAFreshness: A★ 75Claude Code +9 - 0.654score
adr-ops
claude-mods
Author, index, and lint Architecture Decision Records — append-only memory that recovers the WHY behind a system's shape.
SkillAFreshness: A★ 75Claude Code +9 - 0.654score
fleet-ops
claude-mods
Landing discipline for parallel work: sequential test-gated landing queue, pre-land scrub, auto-rebase of in-flight lanes, fleet status, one-shot revert…
SkillAFreshness: A★ 75Claude Code +9 - 0.654score
bash-ops
claude-mods
Defensive Bash scripting for production automation, CI scripts, and agent-facing tools.
SkillAFreshness: A★ 75Claude Code +9 - 0.654score
asus-router-ops
claude-mods
ASUS router config and hardening: Asuswrt-Merlin, security hardening, encrypted DNS (DoT/DoH), VPN (WireGuard/OpenVPN), guest networks, VLAN/IoT isolation…
SkillAFreshness: A★ 75Claude Code +9 - 0.654score
atomise
claude-mods
Atom of Thoughts (AoT) reasoning - decompose complex problems into atomic units with confidence tracking and backtracking.
SkillAFreshness: A★ 75Claude Code +9 - 0.654score
auth-ops
claude-mods
Authentication and authorization patterns - JWT, OAuth2, sessions, RBAC, ABAC, passkeys, MFA, identity-aware proxies, and Better Auth.
SkillAFreshness: A★ 75Claude Code +9 - 0.654score
color-ops
claude-mods
Color for developers: color spaces, accessibility contrast, palette generation, CSS color functions, design tokens, dark mode.
SkillAFreshness: A★ 75Claude Code +9
Signals
- Stars
- 75
- Forks
- 8
- Open issues
- 0
- Last commit (this folder)
- Jul 8, 2026 (3 months ago)
- Last release
- Oct 14, 2026 (13 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/0xDarkMatter/claude-mods
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from claude-mods
- 0.685score
file-search
claude-mods
Modern file and content search using fd, ripgrep (rg), and fzf.
SkillCFreshness: C★ 443Claude Code +9 - 0.685score
code-stats
claude-mods
Analyze codebase with tokei (fast line counts by language) and difft (semantic AST-aware diffs).
SkillCFreshness: C★ 443Claude Code +9 - 0.685score
sqlite-ops
claude-mods
Patterns for SQLite databases in Python projects - state management, caching, and async operations.
SkillCFreshness: C★ 443Claude Code +9 - 0.685score
project-planner
claude-mods
Detects stale project plans and suggests session commands.
SkillCFreshness: C★ 443Claude Code +9 - 0.685score
python-env
claude-mods
Fast Python environment management with uv (10-100x faster than pip).
SkillCFreshness: C★ 443Claude Code +9 - 0.685score
container-orchestration
claude-mods
Docker, Kubernetes, and AWS ECS/Fargate patterns.
SkillCFreshness: C★ 443Claude Code +9
Cite this page
auto-skill. Agent Mart. https://agentmart.dev/skills/0xdarkmatter-auto-skill (last updated 2026-10-24)