Mention/keyword sweep on social platforms for [REPLACE: KEYWORDS] — trends, sentiment, top posts
日本語の概要は準備中です。原文の説明を表示しています。
Improve the agent itself, or audit its recent performance - better skills, prompts, workflows, and config, plus a quality/reliability/memory-hygiene review of what it did and what failed
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
${var} — Mode selector, optionally with a focus area, as
modeormode:focus.
- empty or
improve→ improve mode: find and fix the highest-impact issue from recent logs, then propose + apply the fix via PR (default).improve:<area>(or a bare area likenotifications) → improve mode focused on that specific area (e.g.heartbeat,notifications,memory).audit→ audit mode: review what the agent did, what failed, and what to improve; save a full review and apply safe, obvious fixes directly.audit:<area>→ audit mode focused on that specific area (e.g.reliability,memory).
Parse ${var} into a mode and an optional focus area:
: — the part before is the mode, the part after is the focus.audit → run the Mode: audit branch below (focus = optional area to concentrate the review on).improve or empty → run the Mode: improve branch below (focus = optional area to fix).notifications) → treat it as improve mode with the whole ${var} as the focus area (backward compatibility).Then:
memory/MEMORY.md for high-level context and goals.memory/logs/ (improve mode: last 2 days; audit mode: last 7 days) for errors, failures, and quality issues.If a focus area is set, concentrate the run on that area.
Improve the agent itself based on recent performance. ONE change per run.
Check for open improvement PRs — don't pile up unreviewed work:
OPEN_PRS=$(gh pr list --state open --json title,number --jq '[.[] | select(.title | test("^(fix|feat|chore)\\("; "i"))] | length')
If there are already 3+ open improvement PRs, log "self-improve: 3+ open PRs, waiting for review" and exit. Don't create more debt.
Identify what to improve. If the focus area is empty, scan for issues:
memory/logs/ from last 2 days — look for:
memory/cron-state.json for skills with low success ratesoutput/articles/repo-actions-*.md from last 7 days for self-improvement ideasUnderstand the area you're fixing. Read the relevant files:
skills/{name}/SKILL.mdaeon.yml.github/workflows/*.ymlCLAUDE.mdapps/dashboard/ (if UI-related)Understand the current behavior before changing anything.
Implement the fix. Make minimal, targeted changes:
Do NOT:
4b. Dry-run gate. Before opening the PR, execute the improved skill once with synthetic secrets, so a regression never reaches production having run only with real credentials. Let $skill be the skill you edited:
DRYRUN_VERDICT="output/.dry-run/$skill.json" bash scripts/dry-run.sh run "$skill" || true
Read output/.dry-run/$skill.json: passed: true (or skipped: true, when the SKILL_DRYRUN repo variable is 0) continues. passed: false means revert the edit and stop (log self-improve: dry-run gate failed for $skill with the verdict reasons[]; do not open the PR). Put the verdict under a ## Dry-run section in the PR body. The gate is structural (exit, output, declared mode, declared requires:); no real credential enters the run.
Create a branch and PR:
git checkout -b fix/self-improve-${today}
git add -A
git commit -m "fix: [description of what was improved]
Problem: [what was failing/degraded]
Fix: [what was changed]
Evidence: [log entries, error messages, success rates]"
Open a PR:
gh pr create --title "fix: [short description]" \
--body "## Problem
[What was failing or degraded — cite specific log entries or error messages]
## Fix
[What was changed and why]
## Evidence
- [Relevant log entries]
- [Success rate before: X%]
- [Error pattern: ...]"
Notify. Send via ./notify:
self-improve: [what was fixed] — PR: [url]
Log (see the shared ## Log section below).
Audit what the agent did, what failed, and what to improve. Produce a full review, apply safe fixes, and surface recommendations.
Read memory/MEMORY.md for context and goals. Read ALL memory/logs/ entries from the last 7 days.
output/articles/ — are they substantive or formulaic?MEMORY.md current and under 50 lines?output/articles/self-review-${today}.md.MEMORY.md entriesfeeds.yml if feeds are dead./notify:
*Self Review — ${today}*
Quality: assessment
Reliability: X/Y skills ran
Actions taken: what was fixed
Recommendations: top 2-3 suggestions
## Log section below).After completing the run, append a log entry to memory/logs/${today}.md under a single ### self-improve heading, with a discriminator line naming the mode that ran:
### self-improve
- **Mode:** improve (or: audit)
Then, for improve mode:
- **Target:** [what was improved]
- **Problem:** [what was failing]
- **Fix:** [what was changed]
- **PR:** [url]
For audit mode:
- **Review:** output/articles/self-review-${today}.md
- **Quality:** [assessment]
- **Reliability:** [X/Y skills ran]
- **Actions taken:** [what was fixed directly]
- **Recommendations:** [top 2-3]
Write mode. Both branches touch the repo (improve opens a PR via git/gh; audit writes output/articles/self-review-${today}.md and may prune MEMORY.md/feeds.yml). For the GitHub API, use the gh CLI (gh pr list, gh pr create) — it handles auth internally, so no $SECRET ever touches the command line (a bare secret on the line is what the Bash permission layer refuses; there is no network sandbox). No pre-fetch or post-process side-channel is needed.
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Mention/keyword sweep on social platforms for [REPLACE: KEYWORDS] — trends, sentiment, top posts
日本語の概要は準備中です。原文の説明を表示しています。
Watch Vercel deploys for [REPLACE: VERCEL_PROJECT] — alert on [REPLACE: ALERT_ON] in the last [REPLACE: LOOKBACK_HOURS] hours
日本語の概要は準備中です。原文の説明を表示しています。
First-touch review of newly opened PRs on [REPLACE: WATCHED_REPO] — verdict + welcoming comment + label
日本語の概要は準備中です。原文の説明を表示しています。
Summary of the [REPLACE: CHANNEL_PLATFORM] channel [REPLACE: CHANNEL_NAME] — top [REPLACE: TOP_N_THREADS] threads + open questions
日本語の概要は準備中です。原文の説明を表示しています。
Price and volume tracker for [REPLACE: TOKEN_SYMBOL] with anomaly alerts above [REPLACE: ALERT_THRESHOLD_PCT]% movement
日本語の概要は準備中です。原文の説明を表示しています。
Digest of the most interesting new posts on [REPLACE: TOPIC] from RSS feeds and the open web
日本語の概要は準備中です。原文の説明を表示しています。