Agent skill

Create Project Skills

by tobihagemann in tobihagemann/turbo

Scans an existing codebase and generates project-specific skills that capture inferred conventions such as naming, file organization, framework usage, data access, error handling, and testing style.

MITAuto-check passedProductivity & Automation

Install Create Project Skills

skills CLI
$ npx skills add tobihagemann/turbo --skill create-project-skills -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install tobihagemann/turbo create-project-skills --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/tobihagemann/turbo.git skills-src && mkdir -p .claude/skills && cp -r skills-src/codex/skills/create-project-skills .claude/skills/create-project-skills && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
create-project-skills
GitHub stars
408
Token cost
~2.6k tokens
SKILL.md length
1,434 words
Files
2 (incl. references)
Skills in repo
81
Repo updated
First seen
Licence
MIT

At a glance

Scans an existing codebase and generates project-specific skills that capture inferred conventions such as naming, file organization, framework usage, data access, error handling, and testing style.

  • Works in 5 steps: Survey Codebase → Extract Patterns in Parallel → Evaluate Patterns → …
  • The user asks to extract skills from the codebase
  • SKILL.md covers Task Tracking, Step 1: Survey Codebase, Step 2: Extract Patterns in… and Step 3: Evaluate Patterns, plus 3 more sections
  • Calls git

What it does

Create Project Skills is an agent skill from tobihagemann/turbo. Scans an existing codebase and generates project-specific skills that capture inferred conventions such as naming, file organization, framework usage, data access, error handling, and testing style. Writes into the project's chosen skill directory (e.g., .claude/skills/, .agents/skills/, or a custom path). Use when the user asks to "extract skills from the codebase", "create project skills", "infer project conventions as skills", "codify patterns as skills", or "mine the repo for best practices".

Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/pattern-extractor.md`).

It sits in Productivity & Automation, covering File organization. The repository describes itself as: Reusable workflows for planning, building, reviewing, and shipping with Claude Code and Codex. The licence is MIT.

When your agent uses it

  • The user asks to extract skills from the codebase
  • Create project skills
  • Infer project conventions as skills
  • Codify patterns as skills

Example prompts

  • “extract skills from the codebase”
  • “create project skills”
  • “infer project conventions as skills”
  • “/create-project-skills”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Survey Codebase
  2. Extract Patterns in Parallel
  3. Evaluate Patterns
  4. Propose Skill List
  5. Run $create-skill Skill

What it can do on your machine

Read from SKILL.md and the folder at commit 931eda5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Create Project Skills loads about 2.6k tokens when it runs, and up to ~4.8k if it reads all its reference files. Until then it costs about 132 tokens; SKILL.md has 1,434 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~132
When it runs · the whole SKILL.md, loaded when a task matches
~2.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from tobihagemann/turbo at commit 931eda5, republished under its MIT licence (© tobihagemann). 1,434 words, ~2,608 tokens.

Download SKILL.mdSave it as .claude/skills/create-project-skills/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
create-project-skills
description
Scans an existing codebase and generates project-specific skills that capture inferred conventions such as naming, file organization, framework usage, data access, error handling, and testing style. Writes into the project's chosen skill directory (e.g., `.claude/skills/`, `.agents/skills/`, or a custom path). Use when the user asks to "extract skills from the codebase", "create project skills", "infer project conventions as skills", "codify patterns as skills", or "mine the repo for best practices".

Create Project Skills

Generates one skill per detected convention area in the project's skill directory so future Claude or Codex sessions auto-load them when working in the repo.

Task Tracking

At the start, use update_plan to track each phase, restating any remaining steps of a parent workflow alongside them:

  1. Survey codebase
  2. Extract patterns in parallel
  3. Evaluate patterns
  4. Propose skill list
  5. Run $create-skill skill

Step 1: Survey Codebase

If $ARGUMENTS specifies paths, scope the scan to those paths; otherwise scan the whole repository.

Build the extraction context:

  1. Detect primary languages and frameworks from manifest files (package.json, Cargo.toml, pyproject.toml, go.mod, Package.swift, pom.xml, Gemfile, and others appropriate to the stack).
  2. Map the top-level source directory structure and note test directory conventions.
  3. Read the project's instruction files (at each level AGENTS.override.md when one is present, otherwise AGENTS.md, including nested ones) and any .cursor/rules or .cursorrules. Note the conventions already documented there. The generated skills must not duplicate them.
  4. Determine the target skill directory:
    • Check candidate paths .agents/skills/, .claude/skills/, and a top-level skills/ directory (match case-insensitively so Skills/ or similar non-standard casing is detected too). Resolve symlinks so co-linked paths are treated as one logical location.
    • Use request_user_input to confirm where generated skills should live. Offer up to 3 options: the most likely target directory first, the next-most-likely if there is one, and a free-form path option. Note any symlink alias in the option description. If no Codex skill directory is detected, default the first option to ~/.agents/skills. The user can specify a custom path such as a project-specific directory via the free-form option.
  5. In the chosen target directory, list existing skills. For each, record the skill name, the description from SKILL.md frontmatter, and the first ## section heading from the body. These signals feed rename-conflict detection in Step 3.

Output a short text summary of detected stack, top-level layout, chosen target directory, and existing skills before moving on.

When that summary shows no source code to extract conventions from, stop here rather than dispatching Step 2. Executable code in any language qualifies, including scripts no manifest declares, so judge from the directory map rather than the detected stack. Documentation, instruction files, and configuration alone do not: extraction run over prose returns that prose's assertions as observed conventions, and Step 3 scores them with no code sites to test them against.

State that as text first — what the survey found, and that conventions extracted from it would have nothing to verify against. Then use request_user_input to offer:

  • Write the skills from what we know (Recommended) — build skills from what this session established, rather than from conventions read out of the repo
  • Generate nothing yet — leave skills until the repo has code to have conventions about
  • Extract anyway — generate skills from the documentation and configuration that are there

On the first option, run the $create-skill skill directly on that knowledge and skip the remaining steps. On either of the first two, call update_plan with the extraction phases removed so they no longer read as pending work.

Step 2: Extract Patterns in Parallel

Read references/pattern-extractor.md to see the full taxonomy of pattern categories. Decide which categories apply to the detected stack (e.g., drop "Styling and UI" for a backend service, drop "State management" for a static-analysis tool).

Issue one extraction spawn_agent call per applicable category, all in one batch, then collect their results with wait_agent. Do not issue one and await its result before issuing the rest. Each sub-agent inherits the parent model. State the total count explicitly before emitting the batch. Every sub-agent's prompt must direct it to treat the shared working tree and its git index as read-only and to extract by reading and reasoning. HEAD stays where it is: read other refs with git show <ref>:<path> rather than git checkout or git switch. Each agent's prompt must:

  • Name its assigned category
  • Include the stack summary and directory map from Step 1
  • Include the list of conventions already documented in AGENTS.md so duplicates are skipped
  • Instruct the agent to read references/pattern-extractor.md as its role brief and return findings in the format defined at the end of that file

Step 3: Evaluate Patterns

Aggregate findings from all agents. For each finding, score three axes:

  • Consistency: what share of eligible sites follow the pattern? Drop findings below 30%. Flag findings between 30–70% as "mixed" for Step 4 review.
  • Intentionality: does the pattern appear across multiple subsystems and recent commits, or is it isolated? Drop findings confined to a single legacy module unless docs or lint config explicitly mark them as the desired convention.
  • Modernity: does the pattern align with current best practices for the stack? Flag patterns that contradict current idioms (e.g., pre-hooks class components in a React codebase also using hooks elsewhere) as "legacy" for Step 4 review.

Group the surviving findings by topic into candidate skills. Each candidate typically covers one category, but related categories may merge if the patterns are tightly coupled. Split a candidate into two skills if its patterns cover clearly distinct sub-topics.

For each candidate skill, produce:

  • A proposed name (kebab-case, narrow to the topic, e.g., swift-naming, react-state, api-clients)
  • A one-line description with trigger phrases (e.g., "Use when writing or reviewing <topic>...")
  • 3–8 concrete convention statements with evidence citations (file:line)
  • A Status tag based on disk comparison:
    • New: no skill with that name exists in the target directory.
    • Update: a skill with the same name exists in the target directory. Produce a unified diff against the current SKILL.md body.
    • Rename conflict: an existing skill in the target directory has a name, description, or first-section heading that covers the same topic under a different name. Flag for user decision.

If rename-conflict detection is ambiguous from the Step 1 signals alone, read the existing skill's SKILL.md body and compare convention statements before finalizing the Status tag.

Show full SKILL.md (462 more words)Show less

Step 4: Propose Skill List

Output the full proposal as text first, not inside request_user_input. For each candidate skill, show:

  • Status tag, proposed name, one-line description
  • The 3–8 convention statements with evidence
  • For Update status, the unified diff
  • For Rename conflict status, the existing skill name and the overlap summary

After all candidates are listed, use request_user_input to confirm the proposal with these options: "Approve all", "Make edits", "Cancel". If the user selects "Make edits", continue in conversation so the user can specify which candidates to drop, merge, or rename before returning here.

For each Rename conflict candidate, use a separate request_user_input asking whether to update the existing skill, create the new one alongside it, or skip. Since creating alongside always establishes a second skill covering the same conventions, present a Get a second opinion option in place of skip, keeping the question at three options. It runs the $consult-claude skill for which resolution leaves the skill set coherent. Then resolve the conflict with that answer in hand, re-asking when the choice stays the user's. A freeform answer that declines the candidate skips it.

Step 5: Run $create-skill Skill

Build the batch from approved candidates only. Do not include anything not explicitly approved in Step 4.

Output all approved candidates (both New and Update status) as text in a single batch. For each candidate, list the Status tag, proposed name, description, target path <target-skill-directory>/<name>/SKILL.md, and the 3–8 convention statements organized under ## <Section> headings with inline evidence citations (file_path:line). These convention statements define the target state the final SKILL.md should match, regardless of whether the skill is being created or updated.

This gives $create-skill everything it needs to skip its Step 1 (usage patterns clearly understood) and Step 2 (project skills typically need no additional reusable resources). For Update candidates, $create-skill also skips its Step 3 (initialization) per its own "skill already exists, iteration needed" skip rule and iterates on the existing SKILL.md in Step 4 until it matches the target convention statements.

Run the $create-skill skill once with this batch in context. Its batch-aware review, evaluation, and apply cycle then runs across all touched skills.

After $create-skill completes, output a summary of created and updated skills, grouped by status. If any candidates were dropped or skipped in Step 4, list them so the user knows what was left out.

Rules

  • Each generated skill stays narrow: one topic per skill. Splitting is preferred over bundling.
  • Do not duplicate conventions already documented in AGENTS.md. Reference them instead if needed.
  • Generated skills must be self-contained: no cross-skill routing, no references to pipelines that invoke them.
  • Descriptions must be third-person and include trigger phrases a future agent session would match when working on the topic (e.g., "Use when writing or reviewing <tech>...", "Use when editing <layer>...").

© tobihagemann, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in codex/skills/create-project-skills of tobihagemann/turbo.

  • SKILL.md
  • references/pattern-extractor.md

Open the folder on GitHubat commit 931eda5

Compare with similar skills

Create Project Skills next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Create Project Skills compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Create Project Skills this skilltobihagemann/turbo408—~2.6kAutomated safety check: PassMIT
Abp App Nolayersabpframework/abp14k—~575Automated safety check: PassLGPL-3.0
Feishu Driveraucvr/Group-Goki1123 repos~587Automated safety check: PassMIT
Azldev Comp Tomlmicrosoft/azurelinux5.3k—~1.8kAutomated safety check: PassMIT
Answer Me With HTMLOWWZO/ai-agent1891 repos~4.1kAutomated safety check: PassMIT
PikpakBengerthelorf/pikpaktui121—~1.2kAutomated safety check: PassApache-2.0

Similar skills

  • Abp App Nolayers

    abpframework/abp

    ABP Single-Layer (No-Layers / nolayers) application template - single project structure, feature-based file organization, no separate Domain/Application.Contracts projects.

    14k GitHub stars~575 tokensUpdated yesterday
    Productivity & AutomationAuto-check passed
  • Feishu Drive

    raucvr/Group-Goki

    Feishu cloud storage file management. An agent skill from raucvr/Group-Goki.

    112 GitHub starsUsed in 3 repos~587 tokens
    Productivity & AutomationAuto-check passed
  • Azldev Comp Toml

    microsoft/azurelinux

    Official

    Read this before authoring, editing, or reviewing a .comp.toml file; do not work from memory.

    5.3k GitHub stars~1.8k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Answer Me With HTML

    OWWZO/ai-agent

    Turns an answer into a one-page visual HTML explainer: the model writes a short Markdown draft and the bundled CLI builds one page.

    189 GitHub starsUsed in 1 repo~4.1k tokens
    Productivity & AutomationAuto-check passed
  • Pikpak

    Bengerthelorf/pikpaktui

    Manage PikPak cloud storage — browse, upload, download, stream, share, and organize files via CLI.

    121 GitHub stars~1.2k tokensUpdated 3 days ago
    Productivity & AutomationAuto-check passed
  • Advanced File Management

    MassLab-SII/open-agent-skills

    Advanced file management tools. An agent skill from MassLab-SII/open-agent-skills.

    133 GitHub stars~1.6k tokensUpdated 9 mo ago
    Productivity & AutomationAuto-check passed

More from tobihagemann/turbo

All 81 skills in this repo
  • Consult Oracle

    tobihagemann/turbo

    Consult ChatGPT Pro via ChatGPT browser automation for problems that resist standard approaches.

    408 GitHub stars~1.1k tokensUpdated 2 days ago
    Auto-check passed
  • Fetch PR Comments

    tobihagemann/turbo

    Fetch and summarize review feedback and conversation from a GitHub PR (unresolved review threads, review bodies, and PR conversation comments) without making changes.

    408 GitHub stars~967 tokensUpdated 2 days ago
    Auto-check passed
  • Recall Rationale

    tobihagemann/turbo

    Recall why a past change was made by locating the Claude Code transcript that produced it.

    408 GitHub stars~1.3k tokensUpdated 2 days ago
    Auto-check passed
  • Resolve PR Comments

    tobihagemann/turbo

    Evaluate, fix, answer, and reply to GitHub pull request review comments and conversation comments.

    408 GitHub stars~3.8k tokensUpdated 2 days ago
    Auto-check passed
  • Resolve PR Comments

    tobihagemann/turbo

    Evaluate, fix, answer, and reply to GitHub pull request review comments and conversation comments.

    408 GitHub stars~3.8k tokensUpdated 2 days ago
    Auto-check passed
  • Assess Technical Debt

    tobihagemann/turbo

    Assess project-wide structural technical debt: complexity hotspots, deprecated API usage, duplication clusters, architecture rot, and low-value tests.

    408 GitHub stars~2.8k tokensUpdated 2 days ago
    Auto-check passed

Questions about Create Project Skills

What does Create Project Skills do?

Scans an existing codebase and generates project-specific skills that capture inferred conventions such as naming, file organization, framework usage, data access, error handling, and testing style. Create Project Skills is an agent skill from tobihagemann/turbo. Scans an existing codebase and generates project-specific skills that capture inferred conventions such as naming, file organization, framework usage, data access, error handling, and testing style.

When should I use Create Project Skills?

Create Project Skills fits situations like: the user asks to extract skills from the codebase; create project skills; infer project conventions as skills; codify patterns as skills.

How do I install Create Project Skills in Claude Code?

Run `npx skills add tobihagemann/turbo --skill create-project-skills -a claude-code`. Or copy the skill folder (codex/skills/create-project-skills in tobihagemann/turbo) into .claude/skills/create-project-skills in your project. Claude Code loads it when a task matches its description.

How do I install Create Project Skills in Codex?

Run `npx skills add tobihagemann/turbo --skill create-project-skills -a codex`. Or copy the skill folder (codex/skills/create-project-skills in tobihagemann/turbo) into .agents/skills/create-project-skills in your project. Codex loads it when a task matches its description.

Can I use Create Project Skills in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add tobihagemann/turbo --skill create-project-skills -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/create-project-skills, .gemini/skills/create-project-skills, .github/skills/create-project-skills and .opencode/skills/create-project-skills in your project.

What does Create Project Skills need to run?

Going by SKILL.md and its folder, Create Project Skills needs the command-line tools its instructions call (git).

Does Create Project Skills access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Create Project Skills safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Create Project Skills use?

Create Project Skills is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Create Project Skills use?

About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.2k tokens, read only when the agent opens those files.

What are the alternatives to Create Project Skills?

Skills that share tags, products or a category with Create Project Skills: Abp App Nolayers (abpframework/abp, 14k stars), Feishu Drive (raucvr/Group-Goki, 112 stars), Azldev Comp Toml (microsoft/azurelinux, 5.3k stars) and Answer Me With HTML (OWWZO/ai-agent, 189 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Create Project Skills?

tobihagemann (a GitHub user) maintains it in tobihagemann/turbo, which has 408 GitHub stars. The repository holds 81 skills in this directory. The repository was last updated on October 9, 2026.

Source: tobihagemann/turbo on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.