[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M748W0YT3VH18EDFACAMJK98":3,"skill-same:01M748W0YT3VH18EDFACAMJK98":76},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M748W0YT3VH18EDFACAMJK98","skill-forge",null,"Meta-skill that forges, audits, and refines other skills. Three modes – forge a new skill from a brief, audit recent chat transcripts for new-skill candidates and pain points, or refine an existing skill with additive-only changes. Triggers on \"skill-forge a thing that does X\", \"forge a skill\", \"skill-forge audit\", \"skill audit\", \"refine my skills\", \"skill-forge refine \u003Cname>\", or \"\u002Fskill-forge\". Auto-opens a PR against mphinance\u002Falpha-skills (never auto-merges).","mphinance\u002Falpha-skills","mphinance","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F217996678?v=4","01M71VQC89A6CMFACD2J1CJW6E","Michael H","01M71VQC9B4C0BJ7XXKT8RWRV9",32,"MIT","https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fskill-forge\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: skill-forge\ndescription: Meta-skill that forges, audits, and refines other skills. Three modes – forge a new skill from a brief, audit recent chat transcripts for new-skill candidates and pain points, or refine an existing skill with additive-only changes. Triggers on \"skill-forge a thing that does X\", \"forge a skill\", \"skill-forge audit\", \"skill audit\", \"refine my skills\", \"skill-forge refine \u003Cname>\", or \"\u002Fskill-forge\". Auto-opens a PR against mphinance\u002Falpha-skills (never auto-merges).\n---\n\n# skill-forge\n\nThe skill of skills, for skills. Builds new ones, refines existing ones, and mines chat transcripts for what to build next.\n\n## When to invoke\n\nThree modes. Pick by what the user says.\n\n| Mode | Triggers | What it does |\n|---|---|---|\n| **forge** | \"skill-forge a thing that does X\", \"forge a skill that ...\", \"build me a skill for ...\" | Ask 2-3 clarifying questions, scaffold `~\u002F.claude\u002Fskills\u002F\u003Cname>\u002FSKILL.md` from the template, open PR to `mphinance\u002Falpha-skills`. |\n| **audit** | \"skill-forge audit\", \"skill audit\", \"\u002Fskill-forge\", \"what skills should I build\" | Run the miner over `~\u002F.claude\u002Fprojects\u002F**\u002F*.jsonl`, present `reports\u002Flatest.md`, ask which candidates to forge or refine. |\n| **refine** | \"refine my skills\", \"skill-forge refine \u003Cname>\", \"improve the \u003Cname> skill\" | Propose additive-only changes (new trigger phrase, new example, new section) to an existing skill. Opens PR with diff. |\n\n## Flow\n\n### forge mode\n\n1. Ask the user 2-3 questions max: skill name (kebab-case), one-sentence purpose, primary trigger phrase. Don't over-interview.\n2. Run the scaffolder.\n   ```\n   python scripts\u002Fforge_new.py --name \u003Cname> --brief \"\u003Cone-sentence purpose>\"\n   ```\n   The scaffolder reads `templates\u002FSKILL.md.tmpl` and substitutes `{{name}}`, `{{description}}`, `{{title}}`, `{{when_to_invoke}}`, `{{flow}}`, `{{hard_rules}}`.\n3. Open the freshly written `~\u002F.claude\u002Fskills\u002F\u003Cname>\u002FSKILL.md`. Review with the user. Tighten copy if needed.\n4. Publish.\n   ```\n   python scripts\u002Fpublish.py \u003Cname>\n   ```\n   This clones `mphinance\u002Falpha-skills` into `~\u002F.cache\u002Fskill-forge\u002Falpha-skills` if missing, branches `skill-forge\u002F\u003Cname>-\u003Cshort-ts>`, commits, pushes, opens PR. Prints PR URL. **Stop there.** User reviews and merges.\n\n### audit mode\n\n1. Run the miner.\n   ```\n   python scripts\u002Fmine_chats.py --days 30\n   ```\n2. Read `reports\u002Flatest.md` aloud (the markdown report) and `reports\u002Flatest.json` (structured candidates).\n3. Present the three sections: new-skill candidates, refinement candidates, pain points. Ask which to act on.\n4. For each chosen new-skill candidate, drop into **forge mode** with `publish.py --from-audit` so the PR body cites the mined evidence.\n5. For each chosen refinement candidate, drop into **refine mode**.\n\n### refine mode\n\n1. Read the target skill's existing SKILL.md in full. You are not allowed to remove or restructure anything.\n2. Propose additions only: new trigger phrase in the frontmatter description, new example, new \"When NOT to use\" bullet, new flow step.\n3. Write the proposed change to `proposals\u002F\u003Cskill-name>\u002FCHANGES.diff` first. Confirm with the user.\n4. Apply the additive edit to `~\u002F.claude\u002Fskills\u002F\u003Cskill-name>\u002FSKILL.md`.\n5. Publish.\n   ```\n   python scripts\u002Fpublish.py \u003Cskill-name>\n   ```\n   Commit message starts with \"Refine \u003Cname> skill: \u003Cone-line summary>\". PR body explains the addition and links the mined evidence.\n\n## Hard rules\n\n- **Never auto-merge PRs.** `publish.py` opens the PR. User merges. No `gh pr merge` ever.\n- **Never restructure existing skills in refine mode.** Additive-only. If a skill needs a rewrite, that's a new forge, not a refine.\n- **Refinements are additive-only.** No removed lines beyond pure whitespace. `publish.py` enforces this in refine mode.\n- **Never mine recursively on skill-forge's own sessions.** The miner already filters self-references. Don't disable it.\n- **Skip SSH transcripts.** Project paths starting with `ssh-` or cwd under `\u002Fhome\u002F` are remote work and not mined.\n- **No em dashes.** Use en dash with spaces or commas. No emojis in forged skills.\n- **stdlib only.** Forged skills and skill-forge scripts use Python stdlib, no pip installs.\n- **Always go through PR.** Never edit files in `~\u002F.cache\u002Fskill-forge\u002Falpha-skills\u002Fskills\u002F` directly.\n\n## Scheduling\n\nThe audit is the part you want on a cron. Two options:\n\n- **Preferred – use the `\u002Fschedule` skill.**\n  ```\n  \u002Fschedule weekly \u002Fskill-forge audit\n  ```\n  Runs the audit weekly, writes `reports\u002Flatest.md`, notifies you next session.\n\n- **Free-tier alternative for the miner alone.** Wire Windows Task Scheduler to run `python C:\\Users\\mphan\\.claude\\skills\\skill-forge\\scripts\\mine_chats.py --days 7` on a weekly trigger. Zero tokens spent. You read `reports\u002Flatest.md` when you feel like it, then invoke `skill-forge audit` interactively to act on candidates.\n\nForge and refine modes are interactive by design. Don't schedule those.\n\n## Out of scope\n\n- Auto-merging PRs. User merges, always.\n- In-place edits to skills in `~\u002F.claude\u002Fskills\u002F` during refine mode. Always go through PR against `mphinance\u002Falpha-skills`.\n- Mining transcripts from machines other than this one.\n- Forging non-markdown skills (binary plugins, MCP servers, anything that isn't a SKILL.md plus optional scripts).\n- Rewriting or restructuring existing skills. Refinements are additive-only.\n","# skill-forge\n\nThe skill of skills, for skills. Builds new ones, refines existing ones, and mines chat transcripts for what to build next.\n\n## When to invoke\n\nThree modes. Pick by what the user says.\n\n| Mode | Triggers | What it does |\n|---|---|---|\n| **forge** | \"skill-forge a thing that does X\", \"forge a skill that ...\", \"build me a skill for ...\" | Ask 2-3 clarifying questions, scaffold `~\u002F.claude\u002Fskills\u002F\u003Cname>\u002FSKILL.md` from the template, open PR to `mphinance\u002Falpha-skills`. |\n| **audit** | \"skill-forge audit\", \"skill audit\", \"\u002Fskill-forge\", \"what skills should I build\" | Run the miner over `~\u002F.claude\u002Fprojects\u002F**\u002F*.jsonl`, present `reports\u002Flatest.md`, ask which candidates to forge or refine. |\n| **refine** | \"refine my skills\", \"skill-forge refine \u003Cname>\", \"improve the \u003Cname> skill\" | Propose additive-only changes (new trigger phrase, new example, new section) to an existing skill. Opens PR with diff. |\n\n## Flow\n\n### forge mode\n\n1. Ask the user 2-3 questions max: skill name (kebab-case), one-sentence purpose, primary trigger phrase. Don't over-interview.\n2. Run the scaffolder.\n   ```\n   python scripts\u002Fforge_new.py --name \u003Cname> --brief \"\u003Cone-sentence purpose>\"\n   ```\n   The scaffolder reads `templates\u002FSKILL.md.tmpl` and substitutes `{{name}}`, `{{description}}`, `{{title}}`, `{{when_to_invoke}}`, `{{flow}}`, `{{hard_rules}}`.\n3. Open the freshly written `~\u002F.claude\u002Fskills\u002F\u003Cname>\u002FSKILL.md`. Review with the user. Tighten copy if needed.\n4. Publish.\n   ```\n   python scripts\u002Fpublish.py \u003Cname>\n   ```\n   This clones `mphinance\u002Falpha-skills` into `~\u002F.cache\u002Fskill-forge\u002Falpha-skills` if missing, branches `skill-forge\u002F\u003Cname>-\u003Cshort-ts>`, commits, pushes, opens PR. Prints PR URL. **Stop there.** User reviews and merges.\n\n### audit mode\n\n1. Run the miner.\n   ```\n   python scripts\u002Fmine_chats.py --days 30\n   ```\n2. Read `reports\u002Flatest.md` aloud (the markdown report) and `reports\u002Flatest.json` (structured candidates).\n3. Present the three sections: new-skill candidates, refinement candidates, pain points. Ask which to act on.\n4. For each chosen new-skill candidate, drop into **forge mode** with `publish.py --from-audit` so the PR body cites the mined evidence.\n5. For each chosen refinement candidate, drop into **refine mode**.\n\n### refine mode\n\n1. Read the target skill's existing SKILL.md in full. You are not allowed to remove or restructure anything.\n2. Propose additions only: new trigger phrase in the frontmatter description, new example, new \"When NOT to use\" bullet, new flow step.\n3. Write the proposed change to `proposals\u002F\u003Cskill-name>\u002FCHANGES.diff` first. Confirm with the user.\n4. Apply the additive edit to `~\u002F.claude\u002Fskills\u002F\u003Cskill-name>\u002FSKILL.md`.\n5. Publish.\n   ```\n   python scripts\u002Fpublish.py \u003Cskill-name>\n   ```\n   Commit message starts with \"Refine \u003Cname> skill: \u003Cone-line summary>\". PR body explains the addition and links the mined evidence.\n\n## Hard rules\n\n- **Never auto-merge PRs.** `publish.py` opens the PR. User merges. No `gh pr merge` ever.\n- **Never restructure existing skills in refine mode.** Additive-only. If a skill needs a rewrite, that's a new forge, not a refine.\n- **Refinements are additive-only.** No removed lines beyond pure whitespace. `publish.py` enforces this in refine mode.\n- **Never mine recursively on skill-forge's own sessions.** The miner already filters self-references. Don't disable it.\n- **Skip SSH transcripts.** Project paths starting with `ssh-` or cwd under `\u002Fhome\u002F` are remote work and not mined.\n- **No em dashes.** Use en dash with spaces or commas. No emojis in forged skills.\n- **stdlib only.** Forged skills and skill-forge scripts use Python stdlib, no pip installs.\n- **Always go through PR.** Never edit files in `~\u002F.cache\u002Fskill-forge\u002Falpha-skills\u002Fskills\u002F` directly.\n\n## Scheduling\n\nThe audit is the part you want on a cron. Two options:\n\n- **Preferred – use the `\u002Fschedule` skill.**\n  ```\n  \u002Fschedule weekly \u002Fskill-forge audit\n  ```\n  Runs the audit weekly, writes `reports\u002Flatest.md`, notifies you next session.\n\n- **Free-tier alternative for the miner alone.** Wire Windows Task Scheduler to run `python C:\\Users\\mphan\\.claude\\skills\\skill-forge\\scripts\\mine_chats.py --days 7` on a weekly trigger. Zero tokens spent. You read `reports\u002Flatest.md` when you feel like it, then invoke `skill-forge audit` interactively to act on candidates.\n\nForge and refine modes are interactive by design. Don't schedule those.\n\n## Out of scope\n\n- Auto-merging PRs. User merges, always.\n- In-place edits to skills in `~\u002F.claude\u002Fskills\u002F` during refine mode. Always go through PR against `mphinance\u002Falpha-skills`.\n- Mining transcripts from machines other than this one.\n- Forging non-markdown skills (binary plugins, MCP servers, anything that isn't a SKILL.md plus optional scripts).\n- Rewriting or restructuring existing skills. Refinements are additive-only.\n",{"name":5,"description":7},"main","78b6ee6816aca6e5660cc7f0382650e9e7687086","skills\u002Fskill-forge",6,"https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills","https:\u002F\u002Fgithub.com\u002Fmphinance","https:\u002F\u002Fmphinance.com","2026-11-13 05:04:11",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add mphinance\u002Falpha-skills --skill skill-forge",{"tool":38,"command":39},"bunx","bunx skills add mphinance\u002Falpha-skills --skill skill-forge",{"tool":41,"command":42},"pnpm","pnpm dlx skills add mphinance\u002Falpha-skills --skill skill-forge","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fskill-forge\u002FSKILL.md",true,[46,52,58,62,66,70],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"feature_list.json","REFERENCE","参考文档",6949,"https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fskill-forge\u002Ffeature_list.json",{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"scripts\u002Fforge_new.py","SCRIPT","脚本",5012,"https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fskill-forge\u002Fscripts\u002Fforge_new.py",{"path":59,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":60,"sourceHtmlUrl":61},"scripts\u002Fmine_chats.py",22507,"https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fskill-forge\u002Fscripts\u002Fmine_chats.py",{"path":63,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":64,"sourceHtmlUrl":65},"scripts\u002Fpublish.py",10154,"https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fskill-forge\u002Fscripts\u002Fpublish.py",{"path":67,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":68,"sourceHtmlUrl":69},"SPEC.md",5621,"https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fskill-forge\u002FSPEC.md",{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"templates\u002FSKILL.md.tmpl","OTHER","其他",274,"https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fskill-forge\u002Ftemplates\u002FSKILL.md.tmpl",[77,85,90,97,104,111],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":84},"01M7BANC8ZXMVWWHSY3E31AAC3","order-lifecycle-safety","Idempotency, reconcile-before-retry, audit-before-forward and environment-proof preflight rules for any code or agent that places broker orders. Use when building or reviewing an order path, handling a timeout or unknown order outcome, adding client_order_id, deciding whether a retry is safe, or confirming paper vs live before sending an order.","https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Forder-lifecycle-safety\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":86,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":84},"01M7BAMZ37XP7XM8YDXWWSX0T9","https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fquant-skills\u002Fskills\u002Forder-lifecycle-safety\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M74928K9ZC74YQ1GMYB4N2Q0","write-a-skill","Create new agent skills with proper structure, progressive disclosure, and bundled resources. Use when user wants to create, write, or build a new skill.","https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwrite-a-skill\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M749259PAEA22A891D0EJTKK","wireframe-sketch","A hand-drawn wireframe exploration — graph-paper background, marker \u002F\npencil tone, multiple tab labels for variants, sticky-note annotations,\nscribbled chart placeholders, hatched fills. Reads like a designer's\nwhiteboard before any pixels are committed. Use when the brief asks for\n\"wireframe\", \"sketch wireframe\", \"hand-drawn\", \"lo-fi\", \"whiteboard\",\n\"草稿\", or \"手绘原型\".","https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwireframe-sketch\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":19},"01M74920ZWJS5Q1JRVJ8TSTQ5A","weekly-update","Single-file horizontal-swipe slide deck for a weekly team update —\nshipped, in flight, blocked, metrics, asks. 6–8 slides. Use when the\nbrief mentions \"weekly update\", \"team update slides\", \"weekly status\",\n\"周报演示\".","https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fweekly-update\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":19},"01M7491YFRHYFV5QPS0MJ3DSNP","webull-openapi","Trade stocks, options, futures, crypto, and event contracts on Webull. Query real-time and historical market data. Manage accounts and positions. Supports US, HK, JP, SG, TH, MY, UK, MX, BR, EU, ZA, and AU regions with configurable risk controls.","https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwebull-openapi\u002FSKILL.md",[],[]]