---
title: "Skills — PromptConduit docs"
description: Generate Claude Code skills from your own transcripts with no account. Or build them from synced and team sessions, with evidence, a daily health check and an impact report.
image: "https://promptconduit.dev/og-image.png"
---

<!-- Markdown copy of https://promptconduit.dev/docs/skills. Index of every page: https://promptconduit.dev/llms.txt -->

# Skills

Turn what you keep asking your assistant, and what it keeps getting wrong, into Claude Code skills.

A skill is a Markdown file, `.claude/skills/<name>/SKILL.md`, with a name, a description and instructions. Claude Code loads skills from `~/.claude/skills/` and from `.claude/skills/` in the current project. You run one as `/<name>`, and Claude also uses it when a request matches its description.

PromptConduit makes skills in two ways:

|  | Local skills | Platform and team skills |
| --- | --- | --- |
| Account | None | Signed in, with sync on |
| Reads | Transcripts on your disk | Your synced sessions, or your whole team's |
| Finds | Workflows you repeat | Commands that fail and the fix that worked, then workflows you repeat |
| Evidence | A confidence score | Quoted excerpts and a last-checked date |
| After you adopt one | Nothing | A daily health check and a before-and-after cost report |

## Generate skills locally

`promptconduit skills generate --local` reads your transcripts, asks a model to find the workflows you repeat, and writes each one as a skill. Nothing goes to PromptConduit.

### Before you begin

-   At least 5 sessions in one of Claude Code, OpenAI Codex CLI or GitHub Copilot CLI. Hooks aren't needed.
-   A model to run the analysis, picked in this order: the `claude` command on your `PATH` (your Claude Code subscription, Haiku model), then `ANTHROPIC_API_KEY` (Claude Haiku 4.5), then `OPENAI_API_KEY` (gpt-4o-mini).

### Step 1: Preview

Run this inside the repo you want skills for:

<!-- docs-test: skip: needs Claude Code, Codex or Copilot transcripts, and the claude CLI or an Anthropic or OpenAI API key -->
```bash
promptconduit skills generate --local --dry-run
```

It lists each skill it would write, with its type, confidence and description, and the folder it would write to. Nothing is written and no transcript is marked as analyzed.

### Step 2: Write the skills

<!-- docs-test: skip: needs Claude Code, Codex or Copilot transcripts, and the claude CLI or an Anthropic or OpenAI API key -->
```bash
promptconduit skills generate --local
```

```text title="output"
Analyzing 47 local transcripts (my-project)...
Using Claude Code (claude CLI).

Detected 3 skills:

  /ci-monitor  (workflow, 91%)
    CI Monitor
    Check CI status and iterate until green.
    → Written to: /Users/you/code/my-project/.claude/skills/ci-monitor/SKILL.md
  ...
```

Where the skills go depends on where you run it:

-   Inside a git repo: `<repo root>/.claude/skills/`, from conversations in that repo only.
-   With `--repo ''`: `~/.claude/skills/`, from every project.
-   With `--repo my-project`: conversations from the directory named `my-project`.

Start a new Claude Code session and type `/` to see them. `--tool claude-code` (or `codex`, `copilot`) reads one assistant's transcripts only.

### Step 3: Review and edit

Each file is plain Markdown you can change:

```md title="SKILL.md"
---
name: ci-monitor
description: "Check CI status and fix failures until green. Prompts like: 'how is CI doing?', 'check if CI is passing', 'fix the failing tests in CI'"
---

Check CI pipeline status and fix failing jobs until green.

## When to Use
When CI is failing or you need the pipeline green before merging.

## Steps
1. Run: gh run list --limit 10
2. For failures: gh run view RUN_ID --log-failed
3. Fix errors, re-run: gh run rerun --failed RUN_ID
4. Repeat until all checks pass.

## Example
/ci-monitor

---
*Generated locally by PromptConduit · Confidence: 90%*
```

-   Swap in your real commands and narrow the description, so the skill triggers only when you want it.
-   A later run that finds a skill with the same name overwrites its `SKILL.md`. Rename a skill you've customized, or commit project skills to git.
-   To remove one, delete its folder, for example `rm -r .claude/skills/ci-monitor`. `promptconduit skills uninstall` only removes skills installed from the platform.

### How local generation works

1.  It reads transcripts from each assistant's own folder, newest first (table below).
2.  It keeps the conversations in scope, then the newest 50 of those.
3.  It skips the ones an earlier run analyzed, tracked by hash in `~/.config/promptconduit/local_skills_state.json`. `--force` analyzes them again.
4.  It needs at least 5 conversations left to find patterns.
5.  It sends one request to the model, asking for 3 or 4 workflows, and writes each as a skill with a type: `workflow`, `command`, `template` or `checklist`.

| Assistant | Transcripts |
| --- | --- |
| Claude Code | `~/.claude/projects/**/*.jsonl` |
| OpenAI Codex CLI | `~/.codex/**/*.{jsonl,json}` |
| GitHub Copilot CLI | `~/.copilot/{session-state,history-session-state}/**/*.{jsonl,json}` |

Cursor and Gemini CLI transcripts aren't used for local skills.

> [!NOTE]
> **What the model sees**
>
> For each conversation: its title and summary, the tool-call and message counts, and your first three prompts, each cut to 120 characters. The repo name is included when the run is scoped. Tool output, file contents and the assistant's replies aren't sent. With the `claude` command the request runs under your Claude Code login with session persistence off. With an API key it goes to Anthropic or OpenAI under that key's terms.

### If local generation stops

| Message | What to do |
| --- | --- |
| `no AI provider found` | Install Claude Code, or export `ANTHROPIC_API_KEY` or `OPENAI_API_KEY` in this shell. |
| `no transcripts found` | None of the assistants above has saved a session yet. Use one for a few sessions, or check `--tool`. |
| `no transcripts found for repo "…"` | The repo name it detected doesn't match the folder your sessions ran in, as happens with worktrees and renamed clones. Pass `--repo` with the folder name, or `--repo ''` for every project. |
| `Need at least 5 conversations…` | Fewer than 5 conversations are in scope. Widen it with `--repo ''`, or come back after more sessions. |
| `Only N new transcript(s) since last analysis…` | Most of the conversations in scope were analyzed before. Add `--force` to analyze them all again. |
| `No new transcripts to analyze.` | The newest 50 conversations in scope were all analyzed before, even if older ones weren't. Add `--force`. |
| `claude CLI error: …` | Run `claude` once to check you're signed in. To use an API key instead, run from a shell where `claude` isn't on your `PATH`. |

## Skills from your synced sessions

With an account, PromptConduit finds skills in the sessions you sync, backs each one with quoted evidence, and keeps checking them after you adopt them.

### Before you begin

-   Sign in with `promptconduit login`, with sync on. See the [Quickstart](https://promptconduit.dev/docs/quick-start).
-   Some synced history. Hooks sync each session as you go. To upload older transcripts, run `promptconduit sync`.

### Step 1: See your patterns

<!-- docs-test: skip: needs a signed-in account with synced transcripts -->
```bash
promptconduit skills patterns
```

Patterns come in two kinds, ranked in this order:

-   **Failure and fix.** A shell command that failed, and the different command that worked right after it in the same session, seen across several sessions. For example, `npm test` fails in this repo and `pnpm test` works. These rank first because real failures back them.
-   **Repeated requests.** Themes you keep asking for, grouped from your prompts.

Each pattern carries its evidence: short excerpts it was built from, such as the failed command, its error and the fix, plus when it was last checked. A skill made from patterns keeps up to six of them. Excerpts are redacted, and they're dropped when the events they quote pass the 90-day retention window.

### Step 2: Generate and approve

<!-- docs-test: skip: needs a signed-in account with synced transcripts -->
```bash
promptconduit skills generate
promptconduit skills list --filter new
promptconduit skills approve ci-monitor
```

New skills wait for your approval. `skills reject` moves one to the removed list, and `skills delete` hides it from every list. You can also review them on the [Skills page](https://app.promptconduit.dev/skills) in the web app.

### Step 3: Install

**Your skills:**

<!-- docs-test: skip: needs a signed-in account with synced transcripts -->
```bash
promptconduit skills install ci-monitor
```

This writes `.claude/skills/ci-monitor/SKILL.md`. A skill tied to a repo goes into that repo when you run it inside a clone, and into `~/.claude/skills/` otherwise. `--scope project` or `--scope global` picks for you, and `--all` installs every approved skill.

`promptconduit skills uninstall ci-monitor` removes it, unless you've edited the file since. `--force` removes it anyway.

**Your team’s skills:**

Run this in a clone of the repo:

<!-- docs-test: skip: needs a signed-in account with synced transcripts -->
```bash
promptconduit skills sync --org acme
```

It pulls every teammate's approved skills for this repo, merged, into the checkout:

-   `.claude/skills/INDEX.md`, one line per skill. It's capped at 60 lines and 4 KB, so it stays a short list that's cheap to load in every session.
-   `.claude/skills/<name>/SKILL.md` for each skill, with the details.

Team skills that left the bundle are removed, unless you edited them. Files you edited are kept unless you pass `--force`. Run it again whenever you want the latest.

`promptconduit skills install --org acme` does the same. Outside a clone, or for a different repo, add `--repo api`; it only works together with `--org`.

> [!NOTE]
> `promptconduit skills sync` without `--org` is the older format: it writes each approved skill as a command file in `~/.claude/commands/`. Use `skills install` for `SKILL.md` files.

### Keep skills current

A wrong skill does harm in every session that reads it. Once a day PromptConduit re-checks each approved skill against new sessions and flags it as **may be outdated** when one of these is true:

| Flag | When |
| --- | --- |
| Unused | Approved at least 30 days ago, and not run in the last 30 days. |
| Failing | At least half of its runs failed, out of 3 or more. |
| A command it names fails | A command the skill tells the agent to run failed in 2 or more sessions since approval, more often than it worked. |
| A command looks gone | The same, and the error says the command doesn't exist. |
| Not helpful | People marked the patterns behind it not helpful at least twice, and more often than helpful. |

Each flag states its numbers. You decide what to do:

<!-- docs-test: skip: needs a signed-in account with synced transcripts -->
```bash
promptconduit skills list --filter outdated
promptconduit skills keep ci-monitor
promptconduit skills retire old-deploy
```

-   **Update** the skill, or generate it again.
-   **Keep** it as it is. This hides the flags for 30 days.
-   **Retire** it. It leaves your skill lists, but installed files stay: remove them with `promptconduit skills uninstall`.

### See what skills changed

<!-- docs-test: skip: needs a signed-in account with synced transcripts -->
```bash
promptconduit skills impact
```

For each repo, this compares your sessions in the 60 days before and after the first skill that applies to it. The split is at approval or first use, whichever came first. It compares the medians of turns, tokens and cost per session, the tool-error rate, and an estimated saving a month.

It's a correlation, not proof, so it shows the sample sizes. A repo needs at least 5 priced sessions on each side before it gets an estimate. Until then it says how many it has.

> [!TIP]
> Every step here is also an MCP tool, so you can ask your agent to "show my outdated skills" or "install the team's skills for this repo". See [AI agents (MCP)](https://promptconduit.dev/docs/agents).

## Next steps

-   [Adopt skills and slash commands](https://promptconduit.dev/coaching/adopt-skills-and-slash-commands): when a skill is worth making, and what makes a good one.
-   [Set up a team](https://promptconduit.dev/docs/teams): share one skill bundle per repo across your team.
-   [AI agents (MCP)](https://promptconduit.dev/docs/agents): the skills\_\* tools your agent can call.
-   [CLI reference](https://promptconduit.dev/docs/cli-reference#skills): every skills command and flag.

```json
{
  "@context": "https://schema.org",
  "@type": "SoftwareApplication",
  "@id": "https://promptconduit.dev/#software",
  "name": "PromptConduit",
  "applicationCategory": "DeveloperApplication",
  "operatingSystem": "macOS, Linux, Windows",
  "description": "PromptConduit shows what AI coding costs per developer, repo, and pull request across Claude Code and Cursor. An open-source CLI records every session to a local JSONL file first, with git context and exact cost computed on your machine. Teams sync to see spend across members, models, repos, and clients, with budgets and alerts.",
  "url": "https://promptconduit.dev",
  "installUrl": "https://promptconduit.dev/docs/installation",
  "softwareHelp": {
    "@type": "CreativeWork",
    "url": "https://promptconduit.dev/docs"
  },
  "releaseNotes": "https://promptconduit.dev/changelog",
  "license": "https://opensource.org/licenses/MIT",
  "isAccessibleForFree": true,
  "publisher": {
    "@id": "https://promptconduit.dev/#organization"
  },
  "offers": [
    {
      "@type": "Offer",
      "name": "Free",
      "description": "The full CLI on your machine, and a team of up to 3.",
      "price": "0",
      "priceCurrency": "USD",
      "url": "https://promptconduit.dev/pricing",
      "availability": "https://schema.org/InStock",
      "eligibleQuantity": {
        "@type": "QuantitativeValue",
        "maxValue": 3,
        "unitText": "members"
      }
    },
    {
      "@type": "Offer",
      "name": "Team",
      "description": "Up to 15 members. One flat price, no seat math.",
      "price": "99",
      "priceCurrency": "USD",
      "url": "https://promptconduit.dev/pricing",
      "availability": "https://schema.org/InStock",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "99",
        "priceCurrency": "USD",
        "unitCode": "MON",
        "referenceQuantity": {
          "@type": "QuantitativeValue",
          "value": 1,
          "unitCode": "MON"
        }
      },
      "eligibleQuantity": {
        "@type": "QuantitativeValue",
        "maxValue": 15,
        "unitText": "members"
      }
    },
    {
      "@type": "Offer",
      "name": "Growth",
      "description": "Up to 50 members, for teams and agencies running AI across many repos.",
      "price": "249",
      "priceCurrency": "USD",
      "url": "https://promptconduit.dev/pricing",
      "availability": "https://schema.org/InStock",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "249",
        "priceCurrency": "USD",
        "unitCode": "MON",
        "referenceQuantity": {
          "@type": "QuantitativeValue",
          "value": 1,
          "unitCode": "MON"
        }
      },
      "eligibleQuantity": {
        "@type": "QuantitativeValue",
        "maxValue": 50,
        "unitText": "members"
      }
    }
  ]
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "@id": "https://promptconduit.dev/#organization",
  "name": "PromptConduit",
  "url": "https://promptconduit.dev",
  "logo": "https://promptconduit.dev/favicon.svg",
  "email": "hello@promptconduit.dev",
  "contactPoint": {
    "@type": "ContactPoint",
    "contactType": "customer support",
    "email": "hello@promptconduit.dev",
    "url": "https://promptconduit.dev/about"
  },
  "sameAs": [
    "https://github.com/promptconduit/cli",
    "https://github.com/promptconduit/editor-extension",
    "https://twitter.com/promptconduit"
  ]
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "BreadcrumbList",
  "itemListElement": [
    {
      "@type": "ListItem",
      "position": 1,
      "name": "Home",
      "item": "https://promptconduit.dev/"
    },
    {
      "@type": "ListItem",
      "position": 2,
      "name": "Docs",
      "item": "https://promptconduit.dev/docs"
    },
    {
      "@type": "ListItem",
      "position": 3,
      "name": "Skills",
      "item": "https://promptconduit.dev/docs/skills"
    }
  ]
}
```
