[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M785V2WC9YWVHPW60EDQ9YR2":3,"skill-same:01M785V2WC9YWVHPW60EDQ9YR2":45},{"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":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":28,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M785V2WC9YWVHPW60EDQ9YR2","loop-budget",null,"Check token budget and run-log spend before and after a loop run. Enforces early exit when over budget or when there is no actionable work.","chenxingqiang\u002Floops-automatic-researching","chenxingqiang","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12387235?v=4","01M785TYK3PCDG1BR8WBN2D3E1","Johnson.Chen","01M785TYKYTK34SK9RCS35SEE4",0,"MIT","https:\u002F\u002Fgithub.com\u002Fchenxingqiang\u002Floops-automatic-researching\u002Fblob\u002Fmain\u002Fskills\u002Floop-budget\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: loop-budget\ndescription: Check token budget and run-log spend before and after a loop run. Enforces early exit when over budget or when there is no actionable work.\n---\n\n# Loop Budget Guard\n\nRun at the **start** and **end** of every loop iteration.\n\n## Start of run\n\n1. Read `loop-budget.md` for daily caps and kill-switch flags.\n2. Read recent entries in `loop-run-log.md` (last 24h).\n3. Sum `tokens_estimate` for the active pattern today.\n4. If spend ≥ 80% of the pattern's daily cap → **report-only mode** (no sub-agents, no auto-fix).\n5. If spend ≥ 100% or `loop-pause-all` is set → **exit immediately** with a one-line note in STATE.md.\n6. If watchlist\u002Fstate has no actionable items → **exit in \u003C5k tokens** (do not spawn sub-agents).\n\n## End of run\n\nAppend one JSON object to `loop-run-log.md`:\n\n```json\n{\n  \"run_id\": \"\u003CISO8601>\",\n  \"pattern\": \"\u003Cpattern-id>\",\n  \"duration_s\": \u003Cnumber>,\n  \"items_found\": \u003Cnumber>,\n  \"actions_taken\": \u003Cnumber>,\n  \"escalations\": \u003Cnumber>,\n  \"tokens_estimate\": \u003Cnumber>,\n  \"outcome\": \"no-op | report-only | fix-proposed | escalated\"\n}\n```\n\n## Rules\n\n- Never exceed `max sub-agent spawns\u002Frun` from `loop-budget.md`.\n- High-cadence patterns (CI Sweeper, PR Babysitter) **must** early-exit when nothing is actionable.\n- On self-throttle, append a line to `loop-budget.md` under **Alerts This Period**.","# Loop Budget Guard\n\nRun at the **start** and **end** of every loop iteration.\n\n## Start of run\n\n1. Read `loop-budget.md` for daily caps and kill-switch flags.\n2. Read recent entries in `loop-run-log.md` (last 24h).\n3. Sum `tokens_estimate` for the active pattern today.\n4. If spend ≥ 80% of the pattern's daily cap → **report-only mode** (no sub-agents, no auto-fix).\n5. If spend ≥ 100% or `loop-pause-all` is set → **exit immediately** with a one-line note in STATE.md.\n6. If watchlist\u002Fstate has no actionable items → **exit in \u003C5k tokens** (do not spawn sub-agents).\n\n## End of run\n\nAppend one JSON object to `loop-run-log.md`:\n\n```json\n{\n  \"run_id\": \"\u003CISO8601>\",\n  \"pattern\": \"\u003Cpattern-id>\",\n  \"duration_s\": \u003Cnumber>,\n  \"items_found\": \u003Cnumber>,\n  \"actions_taken\": \u003Cnumber>,\n  \"escalations\": \u003Cnumber>,\n  \"tokens_estimate\": \u003Cnumber>,\n  \"outcome\": \"no-op | report-only | fix-proposed | escalated\"\n}\n```\n\n## Rules\n\n- Never exceed `max sub-agent spawns\u002Frun` from `loop-budget.md`.\n- High-cadence patterns (CI Sweeper, PR Babysitter) **must** early-exit when nothing is actionable.\n- On self-throttle, append a line to `loop-budget.md` under **Alerts This Period**.",{"name":5,"description":7},"main","73ff7c463ad99cc42d81cd0cb9f9fc51f4578dc8","skills\u002Floop-budget","https:\u002F\u002Fgithub.com\u002Fchenxingqiang\u002Floops-automatic-researching","https:\u002F\u002Fgithub.com\u002Fchenxingqiang","AI Aided Drug Design\u002F\r\nAI  Compiler\u002F \r\nFederated Learning\u002F \r\nQuantum Computing","2026-09-27 09:03:55",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add chenxingqiang\u002Floops-automatic-researching --skill loop-budget",{"tool":37,"command":38},"bunx","bunx skills add chenxingqiang\u002Floops-automatic-researching --skill loop-budget",{"tool":40,"command":41},"pnpm","pnpm dlx skills add chenxingqiang\u002Floops-automatic-researching --skill loop-budget","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fchenxingqiang\u002Floops-automatic-researching\u002Fblob\u002Fmain\u002Fskills\u002Floop-budget\u002FSKILL.md",true,[],[46,53,60,65,70,76],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M785YHD2RRQDNZ0QVTGK5X3P","goal-verifier","Verify goal completion.","https:\u002F\u002Fgithub.com\u002Fchenxingqiang\u002Floops-automatic-researching\u002Fblob\u002Fmain\u002Ftools\u002Fgoal-audit\u002Ftest\u002Ffixtures\u002Fgood-goal-project\u002Fskills\u002Fgoal-verifier\u002FSKILL.md",[],[],{"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},"01M785YFBWDJ6VPT756AZ7P4H8","pr-review-triage","Triage open pull requests for CI status, review comments, and merge readiness. Use in PR babysitter loops. Respects project review norms and required checks.","https:\u002F\u002Fgithub.com\u002Fchenxingqiang\u002Floops-automatic-researching\u002Fblob\u002Fmain\u002Fstarters\u002Fpr-babysitter\u002F.grok\u002Fskills\u002Fpr-review-triage\u002FSKILL.md",[],[],{"skillNo":61,"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":62,"categories":63,"keywords":64,"publishedAt":19},"01M785YCZPDTJREN1S094S1WKK","https:\u002F\u002Fgithub.com\u002Fchenxingqiang\u002Floops-automatic-researching\u002Fblob\u002Fmain\u002Fstarters\u002Fpr-babysitter\u002F.codex\u002Fskills\u002Fpr-review-triage\u002FSKILL.md",[],[],{"skillNo":66,"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":67,"categories":68,"keywords":69,"publishedAt":19},"01M785YARKVB2T639N9Q5165MG","https:\u002F\u002Fgithub.com\u002Fchenxingqiang\u002Floops-automatic-researching\u002Fblob\u002Fmain\u002Fstarters\u002Fpr-babysitter\u002F.claude\u002Fskills\u002Fpr-review-triage\u002FSKILL.md",[],[],{"skillNo":71,"name":55,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M785Y8EN766MH71W4HW9870F","Watch open PRs, check CI status, review staleness, merge conflicts, and unanswered review comments. Produces a prioritized watchlist.","https:\u002F\u002Fgithub.com\u002Fchenxingqiang\u002Floops-automatic-researching\u002Fblob\u002Fmain\u002Fstarters\u002Fpr-babysitter-opencode\u002Fskills\u002Fpr-review-triage\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M785Y69MZVX4BE5YY2HKT43G","post-merge-scan","Scan recent merges to main for follow-up cleanup: TODOs, deprecations, broken doc links, stale flags. Use in post-merge cleanup loops.","https:\u002F\u002Fgithub.com\u002Fchenxingqiang\u002Floops-automatic-researching\u002Fblob\u002Fmain\u002Fstarters\u002Fpost-merge-cleanup\u002F.grok\u002Fskills\u002Fpost-merge-scan\u002FSKILL.md",[],[]]