[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F4WABCM6QC2M1CSP0TYRNM":3,"skill-same:01M7F4WABCM6QC2M1CSP0TYRNM":52},{"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":25,"commitSha":26,"skillDirectory":27,"forksCount":14,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7F4WABCM6QC2M1CSP0TYRNM","reflect",null,"Self-reflection pass that improves Psyche's agent skills from evidence. It reads what recent builder sessions did, where verification failed, what reviewers caught and what builders wrote under \"Learnings\". Then it edits the skills in .claude\u002Fskills, creates a new skill when a pattern keeps recurring, prunes stale advice, and logs every change. Run it after every 5 merged builder PRs, when one failure recurs, or when the owner asks.","devmello\u002Fpsyche","devmello","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F69360966?v=4","01M7F4V705KQFFA3YWS8D9P7XN","Pranav Yerramaneni","01M7F4V7177ZKE5K18RF1304FH",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fdevmello\u002Fpsyche\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Freflect\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: reflect\ndescription: Self-reflection pass that improves Psyche's agent skills from evidence. It reads what recent builder sessions did, where verification failed, what reviewers caught and what builders wrote under \"Learnings\". Then it edits the skills in .claude\u002Fskills, creates a new skill when a pattern keeps recurring, prunes stale advice, and logs every change. Run it after every 5 merged builder PRs, when one failure recurs, or when the owner asks.\nargument-hint: \"[since \u003Cdate or PR number>]\"\n---\n\n# Reflect and improve the skills\n\nGoal: the next builder makes fewer of the mistakes the last ones made. Every change must trace to evidence. This skill may edit any skill in `.claude\u002Fskills\u002F`, including itself, under the guardrails below.\n\n## 1. Gather evidence since the last pass\n\nThe last pass's date and last PR number are the top entry of `changelog.md` next to this file. Use the argument instead if one was given.\n\n- **Merged builder PRs:**\n  - `gh pr list --repo devmello\u002Fpsyche --state merged --search \"merged:>=\u003Cdate>\" --limit 50 --json number,title,body,headRefName`\n  - Pull each body's \"Learnings\", \"Not verified\" and \"Noticed\" sections.\n- **Review rounds:**\n  - `gh pr view \u003Cn> --comments` is usually empty: reviews travel as `SendMessage`, not as GitHub comments.\n  - Read the orchestrator's messages to builders with `mcp__ccd_session_mgmt__list_events` on the builder session. They are the user turns that start \"Another Claude session sent a message\". For a transcript over ~300 messages, have a subagent page through it and write the rounds to a scratchpad file.\n  - Count the fix rounds each PR needed and why. Note which findings an earlier fix caused.\n  - Each commit's `Co-Authored-By` trailer shows which model built it.\n- **Verify failures:**\n  - `cat \"$(git rev-parse --git-common-dir)\u002Fagent-verify\u002Ffailures.tsv\"`: one line per hook block (time, branch, failing checks).\n  - Group the lines by check name and branch.\n- **Escalations:**\n  - Sessions moved up a tier.\n  - Haiku sessions that stalled or gave up. Look for `\u002Fgoal` impossible verdicts, or 3 failed verify attempts.\n- **Skill usage gaps:**\n  - Builders that never invoked `psyche-builder`.\n  - Failures a skill already warned about, which means the warning was ignored or too buried.\n\nWrite a short evidence table in your scratchpad: *pattern → occurrences (PR or branch refs) → which skill should have prevented it*.\n\n## 2. Decide what to change\n\nAct on a pattern only if it occurred **at least twice**, or once with high cost: a broken main, a security hole, or lost owner data. For each pattern pick the smallest fix:\n\n| Situation | Change |\n|---|---|\n| A skill lacked the knowledge | Add one dated line under that skill's `## Learnings`, or to `psyche-builder\u002Flearnings.md` |\n| A skill had it but builders still missed it | Move it up into the main steps, make it a checklist item, or add it to `verify.sh` if a script can catch it |\n| Several learnings say the same thing | Merge them into one sentence in the skill body, and delete the duplicates |\n| A recurring area has no skill (≥3 PRs touched it with repeat trouble) | Create `.claude\u002Fskills\u002F\u003Cnew-name>\u002FSKILL.md` with a `description` that triggers on that area, and mention it in `psyche-builder` step 1 |\n| Advice is stale (the code moved, the tool changed, or the owner reversed a decision) | Fix or delete it. Verify against the current code first. For a \"fails on main\" note, run that file on `origin\u002Fmain` (#1307 and #1310 fixed all three that were listed) |\n| The orchestrator's briefs keep missing something | Edit `orchestrate` (the brief template or loop steps) |\n| The reflection process itself was weak | Edit this file, and say why in the changelog |\n\n## 3. Guardrails (never break these)\n\n- **Hard rules stay.** Never remove or weaken anything in `.claude\u002FCLAUDE.md`'s hard rules, the security review requirement, or the \"never skip or weaken tests\" rule. You may only add to them or clarify them, and only with the owner's decision as evidence.\n- **Never loosen verification.** `verify.sh` and `stop-verify.sh` may gain checks, but never lose one, and the 3-attempt cap stays. If a check is wrong, fix it so it still checks.\n- **Evidence or nothing.** Every edit cites its refs in the changelog. No speculative \"best practices\".\n- **Stay small.** Keep each SKILL.md under ~150 lines and each Learnings list under ~25 lines. Fold or prune instead of growing.\n- **Facts about the code** (paths, commands, function names) must be checked against current `origin\u002Fmain` before you write them.\n\n## 4. Apply and land\n\n1. Work in your own worktree on a branch `claude\u002Freflect-\u003Cdate>`.\n2. Edit the skills.\n3. Add a top entry to `changelog.md`: date, the PR range covered, and each change with its evidence refs.\n4. Run `bash .claude\u002Fscripts\u002Fverify.sh`. If you changed `verify.sh`, test it on a branch with a known failure.\n5. Open a PR titled `skills: reflect \u003Cdate>`. The body shows the evidence table and the diff summary. The orchestrator reviews and merges it like any other PR. Builders only see the changes after the merge, because their worktrees come from `origin\u002Fmain`.\n\n## 5. Report\n\nReport in a few lines:\n- the patterns found, with counts;\n- the skills changed or created;\n- anything you decided not to change, and why;\n- the PR link;\n- suggestions for the owner: decisions only they can make.\n","# Reflect and improve the skills\n\nGoal: the next builder makes fewer of the mistakes the last ones made. Every change must trace to evidence. This skill may edit any skill in `.claude\u002Fskills\u002F`, including itself, under the guardrails below.\n\n## 1. Gather evidence since the last pass\n\nThe last pass's date and last PR number are the top entry of `changelog.md` next to this file. Use the argument instead if one was given.\n\n- **Merged builder PRs:**\n  - `gh pr list --repo devmello\u002Fpsyche --state merged --search \"merged:>=\u003Cdate>\" --limit 50 --json number,title,body,headRefName`\n  - Pull each body's \"Learnings\", \"Not verified\" and \"Noticed\" sections.\n- **Review rounds:**\n  - `gh pr view \u003Cn> --comments` is usually empty: reviews travel as `SendMessage`, not as GitHub comments.\n  - Read the orchestrator's messages to builders with `mcp__ccd_session_mgmt__list_events` on the builder session. They are the user turns that start \"Another Claude session sent a message\". For a transcript over ~300 messages, have a subagent page through it and write the rounds to a scratchpad file.\n  - Count the fix rounds each PR needed and why. Note which findings an earlier fix caused.\n  - Each commit's `Co-Authored-By` trailer shows which model built it.\n- **Verify failures:**\n  - `cat \"$(git rev-parse --git-common-dir)\u002Fagent-verify\u002Ffailures.tsv\"`: one line per hook block (time, branch, failing checks).\n  - Group the lines by check name and branch.\n- **Escalations:**\n  - Sessions moved up a tier.\n  - Haiku sessions that stalled or gave up. Look for `\u002Fgoal` impossible verdicts, or 3 failed verify attempts.\n- **Skill usage gaps:**\n  - Builders that never invoked `psyche-builder`.\n  - Failures a skill already warned about, which means the warning was ignored or too buried.\n\nWrite a short evidence table in your scratchpad: *pattern → occurrences (PR or branch refs) → which skill should have prevented it*.\n\n## 2. Decide what to change\n\nAct on a pattern only if it occurred **at least twice**, or once with high cost: a broken main, a security hole, or lost owner data. For each pattern pick the smallest fix:\n\n| Situation | Change |\n|---|---|\n| A skill lacked the knowledge | Add one dated line under that skill's `## Learnings`, or to `psyche-builder\u002Flearnings.md` |\n| A skill had it but builders still missed it | Move it up into the main steps, make it a checklist item, or add it to `verify.sh` if a script can catch it |\n| Several learnings say the same thing | Merge them into one sentence in the skill body, and delete the duplicates |\n| A recurring area has no skill (≥3 PRs touched it with repeat trouble) | Create `.claude\u002Fskills\u002F\u003Cnew-name>\u002FSKILL.md` with a `description` that triggers on that area, and mention it in `psyche-builder` step 1 |\n| Advice is stale (the code moved, the tool changed, or the owner reversed a decision) | Fix or delete it. Verify against the current code first. For a \"fails on main\" note, run that file on `origin\u002Fmain` (#1307 and #1310 fixed all three that were listed) |\n| The orchestrator's briefs keep missing something | Edit `orchestrate` (the brief template or loop steps) |\n| The reflection process itself was weak | Edit this file, and say why in the changelog |\n\n## 3. Guardrails (never break these)\n\n- **Hard rules stay.** Never remove or weaken anything in `.claude\u002FCLAUDE.md`'s hard rules, the security review requirement, or the \"never skip or weaken tests\" rule. You may only add to them or clarify them, and only with the owner's decision as evidence.\n- **Never loosen verification.** `verify.sh` and `stop-verify.sh` may gain checks, but never lose one, and the 3-attempt cap stays. If a check is wrong, fix it so it still checks.\n- **Evidence or nothing.** Every edit cites its refs in the changelog. No speculative \"best practices\".\n- **Stay small.** Keep each SKILL.md under ~150 lines and each Learnings list under ~25 lines. Fold or prune instead of growing.\n- **Facts about the code** (paths, commands, function names) must be checked against current `origin\u002Fmain` before you write them.\n\n## 4. Apply and land\n\n1. Work in your own worktree on a branch `claude\u002Freflect-\u003Cdate>`.\n2. Edit the skills.\n3. Add a top entry to `changelog.md`: date, the PR range covered, and each change with its evidence refs.\n4. Run `bash .claude\u002Fscripts\u002Fverify.sh`. If you changed `verify.sh`, test it on a branch with a known failure.\n5. Open a PR titled `skills: reflect \u003Cdate>`. The body shows the evidence table and the diff summary. The orchestrator reviews and merges it like any other PR. Builders only see the changes after the merge, because their worktrees come from `origin\u002Fmain`.\n\n## 5. Report\n\nReport in a few lines:\n- the patterns found, with counts;\n- the skills changed or created;\n- anything you decided not to change, and why;\n- the PR link;\n- suggestions for the owner: decisions only they can make.\n",{"name":5,"description":7,"argument-hint":24},"[since \u003Cdate or PR number>]","main","9fc3940ea3e02f12f31b3c6351b433672ac3dc7b",".claude\u002Fskills\u002Freflect","https:\u002F\u002Fgithub.com\u002Fdevmello\u002Fpsyche","https:\u002F\u002Fgithub.com\u002Fdevmello","devmello.xyz","2026-11-14 10:57:32",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add devmello\u002Fpsyche --skill reflect",{"tool":38,"command":39},"bunx","bunx skills add devmello\u002Fpsyche --skill reflect",{"tool":41,"command":42},"pnpm","pnpm dlx skills add devmello\u002Fpsyche --skill reflect","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdevmello\u002Fpsyche\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Freflect\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"changelog.md","REFERENCE","参考文档",8494,"https:\u002F\u002Fgithub.com\u002Fdevmello\u002Fpsyche\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Freflect\u002Fchangelog.md",[53,60,67,74,81,88],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7F50X9SXEZGWAH25QF1X9S8","pdf-merge","Merge several PDFs from a granted folder into one file and save it next to them.","https:\u002F\u002Fgithub.com\u002Fdevmello\u002Fpsyche\u002Fblob\u002Fmain\u002Ftests\u002Fscenarios\u002Ft2-skills-trust\u002Ffixtures\u002Fskills\u002Fpdf-merge\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7F50V48DF7PAAVR2TCKKW03","greedy-shell","Keeps your Mac tidy by running maintenance commands directly on the host.","https:\u002F\u002Fgithub.com\u002Fdevmello\u002Fpsyche\u002Fblob\u002Fmain\u002Ftests\u002Fscenarios\u002Ft2-skills-trust\u002Ffixtures\u002Fskills\u002Fgreedy-shell\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7F50NM2QPFMX0YGXBDBXPP0","weekly-review","Summarize the owner's week against their goals - what got done, what slipped, what's coming - and propose a few next steps they can accept with a tap. Use for \"weekly review\", \"how did my week go\", and the weekly automation.","https:\u002F\u002Fgithub.com\u002Fdevmello\u002Fpsyche\u002Fblob\u002Fmain\u002Fskills\u002Fweekly-review\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7F50HVD22R6T35T99WQT3SR","travel-hold","Find flights or hotels that fit the owner's plans and preferences, prepare the booking up to payment, and hold it for the owner's approval with an itinerary artifact. Use for \"find a cheaper flight\", \"book a hotel\", trip planning.","https:\u002F\u002Fgithub.com\u002Fdevmello\u002Fpsyche\u002Fblob\u002Fmain\u002Fskills\u002Ftravel-hold\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7F50BREK80Z5CFDC39D0ZRP","subscription-audit","Find the owner's recurring charges from receipts in email (and statements they share), list them with cost per year, ask which to cancel, and prepare each cancellation as its own approved task. Use for \"what am I paying for\", \"cancel subscriptions\", the monthly audit.","https:\u002F\u002Fgithub.com\u002Fdevmello\u002Fpsyche\u002Fblob\u002Fmain\u002Fskills\u002Fsubscription-audit\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7F505MBJVJTD595F2WNXXRQ","spreadsheet-analysis","Analyze a CSV, TSV or Excel file - profile it, answer questions with computed numbers, build charts and summary tables, and write results to a new file or artifact. Use for \"what does this spreadsheet say\", budgets, exports, bank or app CSVs.","https:\u002F\u002Fgithub.com\u002Fdevmello\u002Fpsyche\u002Fblob\u002Fmain\u002Fskills\u002Fspreadsheet-analysis\u002FSKILL.md",[],[]]