[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6AD72CGZ51VEDN1PZZPB7VB":3,"skill-same:01M6AD72CGZ51VEDN1PZZPB7VB":70},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":17,"ownerHtmlUrl":46,"ownerBlogUrl":47,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M6AD72CGZ51VEDN1PZZPB7VB","prompt-mirror","Copilot 提示词习惯分析","Mine your own local Copilot session history and return a scorecard of how you direct agents, plus three suggestions illustrated with your own before\u002Fafter messages. It reads your private history, so it runs only on `\u002Flever mirror` or an explicit ask (\"how am I prompting?\", \"coach me\", \"mine my sessions\", \"what do I keep repeating?\", a weekly self-retro).","挖掘本地 Copilot 会话历史，返回一份关于你如何指导智能体的评分卡，并附上三条建议，用你自己的前后对比消息加以说明。由于它读取你的私有历史，因此仅在 `\u002Flever mirror` 或明确请求（“我的提示词水平如何？”、“指导我改进”、“挖掘我的会话”、“我总是在重复什么？”、每周自我复盘）时运行。","github\u002Flever","github","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F9919?v=4","01M6AC83DS133TPXFSP1DHNCC6","GitHub","01M6AD6AQD82NPA8BVHR3MZKS2",292,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Fprompt-mirror\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C7EDVFXM320A73X49K3FEZ","提示词分析与优化","SCENARIO","使用场景",[31,32,33,34,35],"prompt mirror","sessions","copilot","messages","lever","2026-11-10 10:12:30",false,"---\nname: prompt-mirror\nuser-invocable: false\ndescription: Mine your own local Copilot session history and return a scorecard of how you direct agents, plus three suggestions illustrated with your own before\u002Fafter messages. It reads your private history, so it runs only on `\u002Flever mirror` or an explicit ask (\"how am I prompting?\", \"coach me\", \"mine my sessions\", \"what do I keep repeating?\", a weekly self-retro).\n---\n\n# prompt-mirror\n\nA coach that reads only your own session history. The extraction runs on your machine. It separates what you typed from the far larger volume of agent, autopilot and scheduled traffic, scores how you direct agents (length, steering, polling, repeated corrections, missing done-when and stop conditions, stuck loops, fan-out), and returns three concrete suggestions using your own messages as the before. It may draft instruction or skill changes; it never applies them. Applying is [`steer-once`](..\u002Fsteer-once\u002FSKILL.md)'s job.\n\n## When to use\n\n- On demand: \"how am I prompting\", \"coach me\", \"what do I keep correcting\", \"self-retro\".\n- Weekly, as a **local** session automation on your own machine.\n- After a run where you typed \"still broken\", \"status?\" or \"why did you stop\" more than twice.\n\nDo not use it to evaluate someone else, to rank teammates, or from a cloud automation. Cloud runners cannot and should not read local session state.\n\n## Privacy rules (non-negotiable defaults; each is also a dial)\n\n1. **Extraction is local. Analysis goes through your model.** The script reads `~\u002F.copilot` (or `$COPILOT_HOME`) and writes to `~\u002F.copilot\u002Fprompt-mirror\u002F\u003Cdate>\u002F` with `0700`\u002F`0600` permissions, and nothing it writes is uploaded. But any redacted sample Copilot reads to score you goes to your configured model service, same as anything else in chat. So before reading message text, ask once: \"Read redacted samples (they go to your model service), or numbers only?\" Numbers only means `--no-text`: build the scorecard from counts, and skip the sample reads in steps 3 and 5 and the before\u002Fafter quotes. Never paste history into an issue, PR, gist, cloud agent or automation.\n2. **Quote sparingly.** At most one quote per suggestion, at most 25 words, redacted, and only from the \"before\" side.\n3. **Never quote** messages flagged `heated` or `sensitive` (profanity, HR, performance reviews, compensation, health, legal). Use aggregate counts only.\n4. **Redact before display:** secrets and tokens, emails, URLs, home paths, `@handles`, UUIDs and long hex, plus every term in the user's `--redact-terms` file (people, codenames, internal hosts). Never show session IDs beyond an 8-character prefix, and never in anything shared.\n5. Anything leaving the machine (for example a steer-once PR) is re-shown to the user first, as the exact text that will be published.\n\n## Where the data lives\n\n| Source | Format | Use |\n|---|---|---|\n| `~\u002F.copilot\u002Fsession-state\u002F\u003Cid>\u002Fevents.jsonl` | One JSON event per line: `{type, id, parentId, timestamp, data, agentId?}` | High confidence. Has source tags and delivery mode. |\n| `~\u002F.copilot\u002Fsession-store.db` | SQLite. `sessions(id, cwd, repository, branch, ...)`, `turns(session_id, turn_index, user_message, assistant_response, timestamp)` | Medium confidence. Backfills sessions whose `events.jsonl` is gone. No source tag. |\n\nHow to tell your words from machine traffic in `events.jsonl` (`type == \"user.message\"`):\n\n| Signal | Meaning |\n|---|---|\n| `data.source` absent (older builds: `\"user\"`) | Candidate typed message |\n| `data.source == \"agent-\u003Cid>\"` | Cross-session message from another agent |\n| `data.source == \"autopilot\"` or `data.isAutopilotContinuation` | Autopilot continuation |\n| `data.source == \"system\"` | Scheduled wake or automation prompt |\n| top-level `agentId` present | Prompt to a subagent |\n| no source, but `data.transformedContent` contains `\u003Ccross_session_message` | Kickoff brief written by a coordinator for a child session |\n| `data.content` is `[ALL CAPS REQUEST] ...`, or \"Continue from where you left off.\" | App-generated template or resume |\n| `data.delivery` = `idle` \u002F `steering` \u002F `queued` | Sent while the agent was idle, mid-turn, or queued |\n\nAlso: `abort` events with `data.reason == \"user_initiated\"`; `session.start` → `data.context.cwd` \u002F `repository`. Use `data.content` (what was typed), not `transformedContent` (adds injected context). Store rows need heuristics: strip injected `\u003Csystem_*>`, `\u003Cskill-context>` and similar blocks, drop envelopes and templates, and drop long third-person briefs (\"User request verbatim: ...\"). Drop sessions whose cwd is under `\u002Ftmp` or `\u002Fvar\u002Ffolders`. A 60+ character prompt whose opening recurs in 4+ sessions is usually an eval harness or pasted fan-out, so drop it when the source is uncertain. If it's clearly you typing it (the same morning prompt every day), keep it: that's an automation candidate, not noise. If the format has drifted, inspect key names on a few events (never print content) and update the filters before scoring.\n\n## Steps\n\n1. **Set the dials** (table below) in one line back to the user: window, scope, tone, output. Ask only if the user named a scope you cannot infer.\n2. **Extract.** Run the bundled stdlib script:\n   ```bash\n   python3 \u003Cthis-skill-dir>\u002Fscripts\u002Fmine_sessions.py --since 30d [--repo owner\u002Fname] [--redact-terms ~\u002F.config\u002Fprompt-mirror\u002Fterms.txt]\n   ```\n   It writes `stats.json`, `messages.jsonl` and `messages.csv` (redacted text, flags, correction classes). Use `--no-text` for numbers only: no message text and no text-derived phrase stats. If an agent tool can query the session store directly, apply the same filters.\n3. **Sanity-check the extraction before scoring.** Typed count and sessions plausible? `machine_per_typed` usually ≫ 1 for heavy agent users. If the user allowed samples, read 20 random redacted messages: if any read like an agent brief or report, tighten filters and re-run. Never score unfiltered history; you would be measuring your agents.\n4. **Build the scorecard** from `stats.json`, compared with the previous run if one exists:\n\n   | Metric | Field | Healthy direction |\n   |---|---|---|\n   | Median \u002F p90 typed length | `typed.words` | Context, not a target |\n   | Mid-turn steering share | `delivery.steering_pct` | Context; high is fine if outcomes are stated |\n   | Status-ask rate | `rates_pct_of_typed.status_ask` | Down; each ask is a poll you ran by hand |\n   | Repeated corrections | `correction_classes`, `repeated_correction_phrases` (≥3 sessions) | Down per class |\n   | Kickoffs missing done-when | `100 − kickoffs.has_done_when_pct` | Down |\n   | Kickoffs missing a stop condition | `100 − kickoffs.has_stop_condition_pct` | Down |\n   | Stuck without measurement (loop smells) | `loop_smells`, `rates.stuck` vs `rates.measurement` | Fewer sessions |\n   | Fan-out share | `rates.fanout`, `kickoffs.fanout_pct` | Context |\n   | Same prompt typed again and again | `automation_candidates` (rows flagged `repeated_prompt`) | Each one is an `\u002Flever automate` candidate |\n   | Agent concessions (\"You're right…\") | `assistant.concessions_per_100` | A concession without a durable fix predicts a repeat |\n   | Machine messages per typed message | `machine_per_typed` | Context: how much work follows each message |\n\n5. **Validate each headline signal by reading.** The classifiers are regexes. For every metric you will cite, open at least 5 flagged messages and discard false positives; report the corrected number and say it was hand-checked.\n6. **Pick three suggestions,** ranked by frequency × cost (time lost, sessions affected). Each one has:\n   - the signal and its number (for example `status asks: 14% of typed messages, 212 in 9 sessions`);\n   - **before:** one of your own messages (rules above);\n   - **after:** a rewrite, or the brief field or skill that removes the need for the message;\n   - the lever piece that fixes it, for example status polling → [`progress-contract`](..\u002Fprogress-contract\u002FSKILL.md); no done-when\u002Fstop → [`brief`](..\u002Fbrief\u002FSKILL.md); stuck ×2 with no measurement → [`find-the-loop`](..\u002Ffind-the-loop\u002FSKILL.md); same correction in ≥3 sessions → [`steer-once`](..\u002Fsteer-once\u002FSKILL.md); same prompt typed daily → [`automate-it`](..\u002Fautomate-it\u002FSKILL.md);\n   - the metric that should move next run.\n7. **Optionally draft** instruction or skill text for the top repeated correction, as a diff in the report. Do not write to any instruction, skill or config file. Offer `steer-once` to land it.\n8. **Save** `report.md` and `suggestions.json` (suggestion, metric, baseline, date) next to the extraction. Show the report in chat.\n9. **On the next run,** load the last `suggestions.json` and report each metric's change. Call a change real only if it exceeds the week-to-week spread of the previous 4 weeks (`weekly`); otherwise say \"within noise\".\n\n## Dials\n\n| Dial | Default | Options |\n|---|---|---|\n| Window | 30 days | any `--since\u002F--until` |\n| Scope | all local sessions | `--repo` substring |\n| Redaction | strict + user term file | strict; `--keep-heated` \u002F `--keep-sensitive` for the user's eyes only |\n| Quoting | ≤1 quote per suggestion, ≤25 words | counts only (`--no-text`) |\n| Text sent to the model | ask once before reading samples | numbers only (`--no-text`); redacted samples |\n| Tone | direct, specific, no scolding | gentle; blunt |\n| Output | report + drafted diffs | report only |\n| Comparison | your own trend only | none; opt-in anonymous team aggregate (counts only, never text) |\n| Cadence | on demand | weekly local session automation |\n| Retention | keep last 8 runs | delete after report (`rm -rf ~\u002F.copilot\u002Fprompt-mirror`) |\n\n## Outputs\n\n- `~\u002F.copilot\u002Fprompt-mirror\u002F\u003Cdate>\u002Fstats.json`, `messages.jsonl`, `messages.csv`: local, redacted, private.\n- `report.md`: scorecard table, three suggestions with before\u002Fafter, drafted diffs, trend versus last run.\n- `suggestions.json`: what was suggested and which metric should move.\n\n## This skill's own feedback loop\n\nEvery suggestion names a metric and a baseline. Next run, the skill reports the fraction of last run's suggestions whose metric moved beyond noise. If that falls below one in three across two runs, the suggestions are generic; ground them harder in the user's repeated phrases and loop smells. Secondary: user status asks per day and repeated-correction rate, trending down.\n\n## Failure modes it prevents\n\n- Measuring your agents instead of you (machine traffic is often 15–20× the typed volume).\n- Generic prompting advice; every suggestion carries your own before.\n- Polish-anxiety: length and typos are context, not faults. Outcome, evidence and boundaries matter.\n- Private text leaking into a shared artifact.\n- Trusting a regex rate you never read.\n\n## Why this exists\n\n- This suite was built this way: one heavy user's ~9.5k typed messages across ~1.8k sessions were mined to find what to encode. Separating typed messages from agent traffic was the first and hardest step; in one month each typed message produced about 21 machine messages.\n- Kickoffs had a median of 18 words. Only 6% stated a done-when, and stop conditions were the weakest field of agent-written briefs at 14%.\n- As autonomy grew, status and ETA asks rose from about 2% to 13% of typed messages: polling done by hand. 40% of messages landed mid-turn.\n- When agents were stuck, the effective move was \"build a feedback loop\" (23 explicit rescues), not more instructions. The mirror flags \"stuck twice, no measurement\" so you make that move sooner.\n","# prompt-mirror\n\nA coach that reads only your own session history. The extraction runs on your machine. It separates what you typed from the far larger volume of agent, autopilot and scheduled traffic, scores how you direct agents (length, steering, polling, repeated corrections, missing done-when and stop conditions, stuck loops, fan-out), and returns three concrete suggestions using your own messages as the before. It may draft instruction or skill changes; it never applies them. Applying is [`steer-once`](..\u002Fsteer-once\u002FSKILL.md)'s job.\n\n## When to use\n\n- On demand: \"how am I prompting\", \"coach me\", \"what do I keep correcting\", \"self-retro\".\n- Weekly, as a **local** session automation on your own machine.\n- After a run where you typed \"still broken\", \"status?\" or \"why did you stop\" more than twice.\n\nDo not use it to evaluate someone else, to rank teammates, or from a cloud automation. Cloud runners cannot and should not read local session state.\n\n## Privacy rules (non-negotiable defaults; each is also a dial)\n\n1. **Extraction is local. Analysis goes through your model.** The script reads `~\u002F.copilot` (or `$COPILOT_HOME`) and writes to `~\u002F.copilot\u002Fprompt-mirror\u002F\u003Cdate>\u002F` with `0700`\u002F`0600` permissions, and nothing it writes is uploaded. But any redacted sample Copilot reads to score you goes to your configured model service, same as anything else in chat. So before reading message text, ask once: \"Read redacted samples (they go to your model service), or numbers only?\" Numbers only means `--no-text`: build the scorecard from counts, and skip the sample reads in steps 3 and 5 and the before\u002Fafter quotes. Never paste history into an issue, PR, gist, cloud agent or automation.\n2. **Quote sparingly.** At most one quote per suggestion, at most 25 words, redacted, and only from the \"before\" side.\n3. **Never quote** messages flagged `heated` or `sensitive` (profanity, HR, performance reviews, compensation, health, legal). Use aggregate counts only.\n4. **Redact before display:** secrets and tokens, emails, URLs, home paths, `@handles`, UUIDs and long hex, plus every term in the user's `--redact-terms` file (people, codenames, internal hosts). Never show session IDs beyond an 8-character prefix, and never in anything shared.\n5. Anything leaving the machine (for example a steer-once PR) is re-shown to the user first, as the exact text that will be published.\n\n## Where the data lives\n\n| Source | Format | Use |\n|---|---|---|\n| `~\u002F.copilot\u002Fsession-state\u002F\u003Cid>\u002Fevents.jsonl` | One JSON event per line: `{type, id, parentId, timestamp, data, agentId?}` | High confidence. Has source tags and delivery mode. |\n| `~\u002F.copilot\u002Fsession-store.db` | SQLite. `sessions(id, cwd, repository, branch, ...)`, `turns(session_id, turn_index, user_message, assistant_response, timestamp)` | Medium confidence. Backfills sessions whose `events.jsonl` is gone. No source tag. |\n\nHow to tell your words from machine traffic in `events.jsonl` (`type == \"user.message\"`):\n\n| Signal | Meaning |\n|---|---|\n| `data.source` absent (older builds: `\"user\"`) | Candidate typed message |\n| `data.source == \"agent-\u003Cid>\"` | Cross-session message from another agent |\n| `data.source == \"autopilot\"` or `data.isAutopilotContinuation` | Autopilot continuation |\n| `data.source == \"system\"` | Scheduled wake or automation prompt |\n| top-level `agentId` present | Prompt to a subagent |\n| no source, but `data.transformedContent` contains `\u003Ccross_session_message` | Kickoff brief written by a coordinator for a child session |\n| `data.content` is `[ALL CAPS REQUEST] ...`, or \"Continue from where you left off.\" | App-generated template or resume |\n| `data.delivery` = `idle` \u002F `steering` \u002F `queued` | Sent while the agent was idle, mid-turn, or queued |\n\nAlso: `abort` events with `data.reason == \"user_initiated\"`; `session.start` → `data.context.cwd` \u002F `repository`. Use `data.content` (what was typed), not `transformedContent` (adds injected context). Store rows need heuristics: strip injected `\u003Csystem_*>`, `\u003Cskill-context>` and similar blocks, drop envelopes and templates, and drop long third-person briefs (\"User request verbatim: ...\"). Drop sessions whose cwd is under `\u002Ftmp` or `\u002Fvar\u002Ffolders`. A 60+ character prompt whose opening recurs in 4+ sessions is usually an eval harness or pasted fan-out, so drop it when the source is uncertain. If it's clearly you typing it (the same morning prompt every day), keep it: that's an automation candidate, not noise. If the format has drifted, inspect key names on a few events (never print content) and update the filters before scoring.\n\n## Steps\n\n1. **Set the dials** (table below) in one line back to the user: window, scope, tone, output. Ask only if the user named a scope you cannot infer.\n2. **Extract.** Run the bundled stdlib script:\n   ```bash\n   python3 \u003Cthis-skill-dir>\u002Fscripts\u002Fmine_sessions.py --since 30d [--repo owner\u002Fname] [--redact-terms ~\u002F.config\u002Fprompt-mirror\u002Fterms.txt]\n   ```\n   It writes `stats.json`, `messages.jsonl` and `messages.csv` (redacted text, flags, correction classes). Use `--no-text` for numbers only: no message text and no text-derived phrase stats. If an agent tool can query the session store directly, apply the same filters.\n3. **Sanity-check the extraction before scoring.** Typed count and sessions plausible? `machine_per_typed` usually ≫ 1 for heavy agent users. If the user allowed samples, read 20 random redacted messages: if any read like an agent brief or report, tighten filters and re-run. Never score unfiltered history; you would be measuring your agents.\n4. **Build the scorecard** from `stats.json`, compared with the previous run if one exists:\n\n   | Metric | Field | Healthy direction |\n   |---|---|---|\n   | Median \u002F p90 typed length | `typed.words` | Context, not a target |\n   | Mid-turn steering share | `delivery.steering_pct` | Context; high is fine if outcomes are stated |\n   | Status-ask rate | `rates_pct_of_typed.status_ask` | Down; each ask is a poll you ran by hand |\n   | Repeated corrections | `correction_classes`, `repeated_correction_phrases` (≥3 sessions) | Down per class |\n   | Kickoffs missing done-when | `100 − kickoffs.has_done_when_pct` | Down |\n   | Kickoffs missing a stop condition | `100 − kickoffs.has_stop_condition_pct` | Down |\n   | Stuck without measurement (loop smells) | `loop_smells`, `rates.stuck` vs `rates.measurement` | Fewer sessions |\n   | Fan-out share | `rates.fanout`, `kickoffs.fanout_pct` | Context |\n   | Same prompt typed again and again | `automation_candidates` (rows flagged `repeated_prompt`) | Each one is an `\u002Flever automate` candidate |\n   | Agent concessions (\"You're right…\") | `assistant.concessions_per_100` | A concession without a durable fix predicts a repeat |\n   | Machine messages per typed message | `machine_per_typed` | Context: how much work follows each message |\n\n5. **Validate each headline signal by reading.** The classifiers are regexes. For every metric you will cite, open at least 5 flagged messages and discard false positives; report the corrected number and say it was hand-checked.\n6. **Pick three suggestions,** ranked by frequency × cost (time lost, sessions affected). Each one has:\n   - the signal and its number (for example `status asks: 14% of typed messages, 212 in 9 sessions`);\n   - **before:** one of your own messages (rules above);\n   - **after:** a rewrite, or the brief field or skill that removes the need for the message;\n   - the lever piece that fixes it, for example status polling → [`progress-contract`](..\u002Fprogress-contract\u002FSKILL.md); no done-when\u002Fstop → [`brief`](..\u002Fbrief\u002FSKILL.md); stuck ×2 with no measurement → [`find-the-loop`](..\u002Ffind-the-loop\u002FSKILL.md); same correction in ≥3 sessions → [`steer-once`](..\u002Fsteer-once\u002FSKILL.md); same prompt typed daily → [`automate-it`](..\u002Fautomate-it\u002FSKILL.md);\n   - the metric that should move next run.\n7. **Optionally draft** instruction or skill text for the top repeated correction, as a diff in the report. Do not write to any instruction, skill or config file. Offer `steer-once` to land it.\n8. **Save** `report.md` and `suggestions.json` (suggestion, metric, baseline, date) next to the extraction. Show the report in chat.\n9. **On the next run,** load the last `suggestions.json` and report each metric's change. Call a change real only if it exceeds the week-to-week spread of the previous 4 weeks (`weekly`); otherwise say \"within noise\".\n\n## Dials\n\n| Dial | Default | Options |\n|---|---|---|\n| Window | 30 days | any `--since\u002F--until` |\n| Scope | all local sessions | `--repo` substring |\n| Redaction | strict + user term file | strict; `--keep-heated` \u002F `--keep-sensitive` for the user's eyes only |\n| Quoting | ≤1 quote per suggestion, ≤25 words | counts only (`--no-text`) |\n| Text sent to the model | ask once before reading samples | numbers only (`--no-text`); redacted samples |\n| Tone | direct, specific, no scolding | gentle; blunt |\n| Output | report + drafted diffs | report only |\n| Comparison | your own trend only | none; opt-in anonymous team aggregate (counts only, never text) |\n| Cadence | on demand | weekly local session automation |\n| Retention | keep last 8 runs | delete after report (`rm -rf ~\u002F.copilot\u002Fprompt-mirror`) |\n\n## Outputs\n\n- `~\u002F.copilot\u002Fprompt-mirror\u002F\u003Cdate>\u002Fstats.json`, `messages.jsonl`, `messages.csv`: local, redacted, private.\n- `report.md`: scorecard table, three suggestions with before\u002Fafter, drafted diffs, trend versus last run.\n- `suggestions.json`: what was suggested and which metric should move.\n\n## This skill's own feedback loop\n\nEvery suggestion names a metric and a baseline. Next run, the skill reports the fraction of last run's suggestions whose metric moved beyond noise. If that falls below one in three across two runs, the suggestions are generic; ground them harder in the user's repeated phrases and loop smells. Secondary: user status asks per day and repeated-correction rate, trending down.\n\n## Failure modes it prevents\n\n- Measuring your agents instead of you (machine traffic is often 15–20× the typed volume).\n- Generic prompting advice; every suggestion carries your own before.\n- Polish-anxiety: length and typos are context, not faults. Outcome, evidence and boundaries matter.\n- Private text leaking into a shared artifact.\n- Trusting a regex rate you never read.\n\n## Why this exists\n\n- This suite was built this way: one heavy user's ~9.5k typed messages across ~1.8k sessions were mined to find what to encode. Separating typed messages from agent traffic was the first and hardest step; in one month each typed message produced about 21 machine messages.\n- Kickoffs had a median of 18 words. Only 6% stated a done-when, and stop conditions were the weakest field of agent-written briefs at 14%.\n- As autonomy grew, status and ETA asks rose from about 2% to 13% of typed messages: polling done by hand. 40% of messages landed mid-turn.\n- When agents were stuck, the effective move was \"build a feedback loop\" (23 explicit rescues), not more instructions. The mirror flags \"stuck twice, no measurement\" so you make that move sooner.\n",{"name":5,"description":7,"user-invocable":37},"main","f859d0aa2be96981157ee0480655c84877e3cd98","skills\u002Fprompt-mirror",15,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever","https:\u002F\u002Fgithub.com\u002Fgithub","https:\u002F\u002Fgithub.com\u002Fabout","How people build software.","2026-11-06 22:44:16",{"source":9,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add github\u002Flever --skill prompt-mirror",{"tool":56,"command":57},"bunx","bunx skills add github\u002Flever --skill prompt-mirror",{"tool":59,"command":60},"pnpm","pnpm dlx skills add github\u002Flever --skill prompt-mirror","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Fprompt-mirror\u002FSKILL.md",true,[64],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"scripts\u002Fmine_sessions.py","SCRIPT","脚本",32091,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Fprompt-mirror\u002Fscripts\u002Fmine_sessions.py",[71,96,116,134,154,173],{"skillNo":72,"name":73,"nameZh":74,"description":75,"descriptionZh":76,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":77,"categories":78,"keywords":85,"publishedAt":36},"01M6AD7862D8WH4576CB754ZQ5","steer-once","重复纠正根因修复","Turn a correction you keep repeating into a durable fix: mine your corrections, classify them, choose the cheapest layer that would have prevented them (instruction, skill, lint\u002FCI check, test, automation, or product bug report), open a PR with an evidence block, then re-measure after K days and keep, escalate or revert. Opens PRs, so it runs only on `\u002Flever steer` or an explicit ask (\"mine my corrections\", \"why do I keep telling you X\", \"didn't I give you a skill for this\"), or when prompt-mirror reports the same correction class in 3+ sessions and you say go.","将你反复重复的纠正转化为持久性修复：挖掘你的各类纠正并分类，选择能够预防这些纠正的最低成本层级（指令、技能、lint\u002FCI 检查、测试、自动化或产品 bug 报告），提交一个带证据块的 PR，然后在 K 天后重新度量，并决定保留、升级或回滚。由于会创建 PR，因此仅在 `\u002Flever steer` 或明确要求（“挖掘我的纠正”“为什么我总跟你说 X”“我不是给过你一个技能来做这个吗”），或当 prompt-mirror 在 3 个及以上会话中报告同一类纠正且你表示同意时才运行。","https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Fsteer-once\u002FSKILL.md",[79,82],{"categoryNo":80,"categoryName":81,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师",{"categoryNo":83,"categoryName":84,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSAA4FBTWZP6X98STEHG99","智能体开发",[86,87,88,89,32,90,91,92,93,94,95,35],"steer once","go","automation","test","pr","bug report","lint","report","product","ci",{"skillNo":97,"name":98,"nameZh":99,"description":100,"descriptionZh":101,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":102,"categories":103,"keywords":110,"publishedAt":36},"01M6AD767J9CB04Y0FY7JFSKJJ","run-health-review","自动化运行健康审查","Stall watchdog and automation health review. Pulls recent runs, merges, no-op rate, failures, rate-limit hits and stuck PRs; classifies each stall; proposes exactly one change or \"no change\"; and takes over orphaned work. Use when unattended delivery stalled (\"why did it stall overnight\", \"no merges in N hours\", \"it was fast the first few days, now slow\"), when an automation fails or its output drops, when rate limits or quotas are hit, or on a schedule while agents run unattended.","停滞监视器与自动化健康审查。拉取近期运行、合并、无操作率、失败、速率限制命中以及卡住的 PR；对每种停滞进行分类；只提出一项变更或“不变更”；并接管被遗弃的工作。当无人值守交付停滞（“为什么一夜之间就卡住了”“N 小时没有合并”“前几天还很快，现在变慢了”）、某个自动化失败或其产出下降、遭遇速率限制或配额用尽，或在 agent 无人值守运行期间按计划执行时使用。","https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Frun-health-review\u002FSKILL.md",[104,107],{"categoryNo":105,"categoryName":106,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQGD3B3T8FK02S5JVCZA1M","运维监控与告警",{"categoryNo":108,"categoryName":109,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师",[111,112,113,88,114,115],"run","run health review","review","change","fast",{"skillNo":117,"name":118,"nameZh":119,"description":120,"descriptionZh":121,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":122,"categories":123,"keywords":128,"publishedAt":36},"01M6AD746F7K4FQG99EE8CZ6DT","refactor-pipeline","大规模代码重构流水线","Runs a huge, mechanical refactor (crate or package splits, module extraction, API migrations, dead-code removal) as three independent lanes, producer, packager and shepherd, that coordinate only through git and a PR stack. It pushes branches and opens PRs, so it runs only on `\u002Flever refactor` or an explicit ask (\"split this crate\", \"break up this monolith\", \"this module is huge, cut it down\", \"migrate every caller\").","以三个独立通道——生产者（producer）、打包者（packager）和牧羊人（shepherd）——运行大规模的机械式重构（crate 或 package 拆分、模块提取、API 迁移、死代码删除），这些通道仅通过 git 和 PR 栈进行协调。它会推送分支并创建 PR，因此仅在 `\u002Flever refactor` 或明确要求（“拆分此 crate”“拆分这个单体”“这个模块太大了，把它精简一下”“迁移所有调用方”）时运行。","https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Frefactor-pipeline\u002FSKILL.md",[124,125],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":126,"categoryName":127,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BT7QVANT4709358VEJK53E","代码实现",[129,35,130,131,132,133,90],"refactor pipeline","code","extraction","package","git",{"skillNo":135,"name":136,"nameZh":137,"description":138,"descriptionZh":139,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":140,"categories":141,"keywords":148,"publishedAt":36},"01M6AD70V6MPP4EE686C6TR4MG","progress-contract","长时任务进度契约跟踪","Pushes progress on long-running or delegated work so the human never has to poll. It publishes milestones with ETAs and the evidence each needs, sends reports only when something meaningful changed, labels every claim with an evidence level, logs ETA accuracy, watches time since last merge, and audits \"done\" against evidence before declaring it. Use for any delegated, multi-hour or overnight run, when a brief sets a report contract, or when the user asks \"status?\", \"ETA?\", \"where are we?\", \"what happened overnight?\", \"hour by hour\" or \"are you done?\".","推动长时间运行或委派的任务进展，让人类无需轮询。它会发布带有 ETA 及各自所需证据的里程碑，仅在发生重大变化时发送报告，为每项声明标注证据等级，记录 ETA 准确性，监控距上次合并的时间，并在宣布“完成”之前依据证据对“完成”状态进行审计。适用于任何委派的、耗时数小时或通宵运行的任务，当任务简报设定了报告契约时，或当用户询问“状态如何？”、“预计何时完成？”、“我们进行到哪了？”、“昨晚发生了什么？”、“逐小时汇报”或“你完成了吗？”时。","https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Fprogress-contract\u002FSKILL.md",[142,145],{"categoryNo":143,"categoryName":144,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C31AVFVV99RWJEGF9PS85F","项目经理",{"categoryNo":146,"categoryName":147,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C6Y8SPQXYX4HP4KTNCEXME","项目进度跟踪与状态报告",[149,150,151,152,111,93,153],"progress contract","brief","merge","status","logs",{"skillNo":155,"name":156,"nameZh":157,"description":158,"descriptionZh":159,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":160,"categories":161,"keywords":166,"publishedAt":36},"01M6AD6YMC170PX6A5VWDE4T2B","pr-shepherd","PR 落地合并驱动","Drives an open pull request to landed through an event-driven loop. On each wake it does one batched read, fixes root causes of red required checks, dispositions every review thread, and lands at the level set by the autonomy dial. It pushes and can merge, so it runs only on `\u002Flever shepherd`, a hand-off from a lever coordinator, a PR labeled for shepherding, or an explicit ask (\"monitor CI until green\", \"push fixes until green\", \"resolve the review threads\", \"merge when green\", \"babysit this PR\", \"shepherd","通过事件驱动循环推动开放的拉取请求直至落地。每次唤醒时执行一次批量读取，修复红色必填检查的根本原因，处理每一条审查讨论线程，并按照自主性拨盘设定的级别执行落地。由于它会推送代码并可能执行合并，因此仅在 `\u002Flever shepherd`、来自 lever 协调器的移交、被标记为 shepherding 的 PR，或明确请求（“监控 CI 直至通过”、“推送修复直到通过”、“解决审查讨论线程”、“通过即合并”、“照看这个 PR”、“shepherd”）时运行。","https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Fpr-shepherd\u002FSKILL.md",[162,163],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":164,"categoryName":165,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理",[90,167,168,113,151,169,170,171,95,172,35],"pr shepherd","monitor","pull request","pull","push","autonomy dial",{"skillNo":174,"name":35,"nameZh":175,"description":176,"descriptionZh":177,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":178,"categories":179,"keywords":184,"publishedAt":36},"01M6AD6WNP2AN43C3HG4MBJH8B","Lever 技能统一入口","The one lever command. `\u002Flever \u003Cverb> [args]` runs a lever skill directly (loop, arms, review, brief, deliver, refactor, backlog, shepherd, land, status, automate, health, mirror, steer, autonomy, spend, setup, help). `\u002Flever \u003Cplain words>` picks the verb for you, says which in one line, then runs it. Also reads and writes the user's personal dials in `~\u002F.copilot\u002Flever.yml`. Use when the user types \u002Flever, asks \"which lever skill should I use?\", or wants to see or change their autonomy or spend dial.","统一的 lever 命令。`\u002Flever \u003Cverb> [args]` 直接运行某个 lever 技能（loop、arms、review、brief、deliver、refactor、backlog、shepherd、land、status、automate、health、mirror、steer、autonomy、spend、setup、help）。`\u002Flever \u003Cplain words>` 会为你挑选合适的动词，用一行说明所选动词，然后执行。该技能还会读取和写入 `~\u002F.copilot\u002Flever.yml` 中用户的个人拨盘设置。当用户键入 \u002Flever、询问“我应该使用哪个 lever 技能？”，或想查看或更改其自主性（autonomy）或支出（spend）拨盘时使用。","https:\u002F\u002Fgithub.com\u002Fgithub\u002Flever\u002Fblob\u002Fmain\u002Fskills\u002Flever\u002FSKILL.md",[180,181],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":182,"categoryName":183,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRN0CV1NMDZ5TEJX1GVM29","插件与技能管理",[35,113,114,152,33,185,186,187,150,188],"setup","help","land","personal"]