[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CS15AJC71RQKG3EF3KBM48":3,"skill-same:01M6CS15AJC71RQKG3EF3KBM48":66},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":51,"ownerDescription":6,"updatedAt":52,"install":53,"resources":65},"01M6CS15AJC71RQKG3EF3KBM48","recall",null,"Recall what earlier fir sessions built or decided — search bookmarks, transcripts and sibling repo docs. Use BEFORE you say you lack a tool or capability or do not know how; when the user says \"we did\u002Fpatched\u002Fadded\u002Fbuilt X\", \"don't you have\u002Fknow X\", \"can't you X\", \"what did we decide about X\"; and before exploring a repo you were spawned into. Always reports exactly what was searched.","kfet\u002Ffir","kfet","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F14585?v=4","01M6CRZCB8P1V37WM3X0GB2DA6","Kalin Fetvadjiev","01M6CRZCFG1EW1WEN4RK84W1N5",1,"MIT","https:\u002F\u002Fgithub.com\u002Fkfet\u002Ffir\u002Fblob\u002Fmain\u002Fpkg\u002Fresources\u002Fbuiltin_skills\u002Frecall\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"use","when","can","true","transcripts","you","about","repo docs","do","reports","say","docs","user","repo","decide","bookmarks","tool","how","search","sessions","2026-11-10 10:12:30",false,"---\nbuiltin: true\nname: recall\ndescription: Recall what earlier fir sessions built or decided — search bookmarks, transcripts and sibling repo docs. Use BEFORE you say you lack a tool or capability or do not know how; when the user says \"we did\u002Fpatched\u002Fadded\u002Fbuilt X\", \"don't you have\u002Fknow X\", \"can't you X\", \"what did we decide about X\"; and before exploring a repo you were spawned into. Always reports exactly what was searched.\n---\n\n# recall — cross-session memory via `fir sessions` + rg + read\n\nNo index, no service. Sessions leave transcripts and bookmarks on disk, in\nfir's own store and in any read-only archive stores (other hosts' synced\nsessions, configured as `sessionStores`). `fir sessions` reads all of them.\nWork cheapest tier first and stop as soon as you have enough.\n\n## 1. Enumerate and rank candidates\n\n```bash\nR=$(mktemp -d)   # private scratch; concurrent agents must not share files\nfir sessions dirs > $R\u002Fstores.tsv      # store  path  readonly  exists — name these in your report\nfir sessions list --all > $R\u002Fcands.tsv # store  modified  id  msgs  path  cwd  name  first_msg — newest first\nHERE=$(git rev-parse --path-format=absolute --git-common-dir 2>\u002Fdev\u002Fnull)\n```\n\nRank into tiers (record which tier each hit came from):\n\n- **T1 repo** — `cwd` is this repo or a sibling worktree `\u003Crepo>-wt-*`.\n  Archive sessions come from other hosts, so match on the path, not with git.\n- **T2 recent** — any other session, newest first.\n- **T3 all** — the full catalog. Widen only when T1\u002FT2 come up empty.\n\nSkip your own session id.\n\n```bash\n# Not in a git repo? Skip T1 entirely (an empty $REPO would match every path).\nREPO=${HERE%\u002F.git}\n[ -n \"$HERE\" ] && awk -F'\\t' -v r=\"$REPO\" '$6==r || index($6, r\"\u002F\")==1 || index($6, r\"-wt-\")==1' $R\u002Fcands.tsv > $R\u002Ft1.tsv || : > $R\u002Ft1.tsv\nwc -l \u003C $R\u002Ft1.tsv\ncut -f5 $R\u002Ft1.tsv | xargs -r -d '\\n' -n1 dirname | sort -u > $R\u002Ft1dirs   # T1 project dirs, all stores\n```\n\n## 2. Search bookmarks first — `orient:` notes before anything else\n\n`fir sessions search` greps every store, newest first. Each hit is\n`store  kind  id  path:line  snippet`. Bookmark search is fast; a transcript\nscan of a large archive takes tens of seconds, so narrow it (step 3).\n\n```bash\n# a) the repo map, always first (keep T1 hits)\nfir sessions search --kind bookmark '\"_bookmark_note\"\\s*:\\s*\"orient:' --limit 200 | grep -F -f $R\u002Ft1dirs | head\n# b) then your terms (-i, a few synonyms, alternation)\nfir sessions search --kind bookmark -i 'term1|term2|term3' --limit 200 > $R\u002Fhits.tsv\ngrep -F -f $R\u002Ft1dirs $R\u002Fhits.tsv | head -30   # T1 first, then the rest of hits.tsv\n```\n\nRead a hit at its line: `sed -n '\u003Cline>p' \u003Cpath> | jq -r '._bookmark_note, (.message.content \u002F\u002F . | tostring)'`\nor `rg -n -i -C0 'term' \u003Cpath>` — pull the verbatim slice, not a paraphrase.\n\n## 3. Fall through to the transcript when the slice is thin\n\nA bookmark is an entry point; the transcript (`path` in cands.tsv) is the\nwhole record. If a hit lacks the why\u002Fhow, `rg -n -i 'term' \u003Cpath> | head` and\nread around the match. No bookmark hit? Search transcripts, narrowest first:\n`fir sessions search --kind transcript -i 'terms' --cwd \"$REPO\"` (one project\ndir, every store), then add `--since 720h` without `--cwd`, then everything. Refine terms, widen the tier, iterate — a few rounds,\nnot dozens. Archive transcripts are read-only: read them, never write there.\n\n## 3b. Capability question? Grep the repo that would hold it\n\nSessions record work; repos record what shipped. Pick the likely repo beside this one\n(e.g. \"patched zulip\" → `$SRC\u002Fzulip*`) and search its docs and log:\n\n```bash\nSRC=$(dirname \"${REPO:-$PWD}\")   # the dir holding your repos\nfor d in \"$SRC\"\u002F*term*\u002F; do git -C \"$d\" grep -iEl 'term1|term2' -- '*.md'; git -C \"$d\" log --oneline -i -E --grep 'term1|term2' | head -5; done\n```\n\n## 4. ALWAYS report the searched set\n\nEnd every recall with a block like:\n\n```\nrecall: stores local + zbox (read-only); searched T1 repo=7 sessions, T2 recent=20;\nterms: \"cache|ttl\"; hits: s1a2b (T1 local, orient: map), s9f0e (T1 zbox, 2 bookmarks, transcript read)\n```\n\nIf nothing matched, say so plainly — \"no prior session mentions X in the\nN sessions searched\" — and do not fill the gap with a plausible guess.\nAbsence reported honestly is the most important output of this skill.\n\nWhen you state something learned, cite the session inline (\"X — per s9f0e\nbookmark\"), so a later bookmark of your conclusion carries its warrant.\n\n## 5. No repo map? Run `orient`\n\nIf step 2a found no `orient:` bookmark for this repo, run the `orient` skill\nnow (no need to ask) so the next session starts warm.\n","# recall — cross-session memory via `fir sessions` + rg + read\n\nNo index, no service. Sessions leave transcripts and bookmarks on disk, in\nfir's own store and in any read-only archive stores (other hosts' synced\nsessions, configured as `sessionStores`). `fir sessions` reads all of them.\nWork cheapest tier first and stop as soon as you have enough.\n\n## 1. Enumerate and rank candidates\n\n```bash\nR=$(mktemp -d)   # private scratch; concurrent agents must not share files\nfir sessions dirs > $R\u002Fstores.tsv      # store  path  readonly  exists — name these in your report\nfir sessions list --all > $R\u002Fcands.tsv # store  modified  id  msgs  path  cwd  name  first_msg — newest first\nHERE=$(git rev-parse --path-format=absolute --git-common-dir 2>\u002Fdev\u002Fnull)\n```\n\nRank into tiers (record which tier each hit came from):\n\n- **T1 repo** — `cwd` is this repo or a sibling worktree `\u003Crepo>-wt-*`.\n  Archive sessions come from other hosts, so match on the path, not with git.\n- **T2 recent** — any other session, newest first.\n- **T3 all** — the full catalog. Widen only when T1\u002FT2 come up empty.\n\nSkip your own session id.\n\n```bash\n# Not in a git repo? Skip T1 entirely (an empty $REPO would match every path).\nREPO=${HERE%\u002F.git}\n[ -n \"$HERE\" ] && awk -F'\\t' -v r=\"$REPO\" '$6==r || index($6, r\"\u002F\")==1 || index($6, r\"-wt-\")==1' $R\u002Fcands.tsv > $R\u002Ft1.tsv || : > $R\u002Ft1.tsv\nwc -l \u003C $R\u002Ft1.tsv\ncut -f5 $R\u002Ft1.tsv | xargs -r -d '\\n' -n1 dirname | sort -u > $R\u002Ft1dirs   # T1 project dirs, all stores\n```\n\n## 2. Search bookmarks first — `orient:` notes before anything else\n\n`fir sessions search` greps every store, newest first. Each hit is\n`store  kind  id  path:line  snippet`. Bookmark search is fast; a transcript\nscan of a large archive takes tens of seconds, so narrow it (step 3).\n\n```bash\n# a) the repo map, always first (keep T1 hits)\nfir sessions search --kind bookmark '\"_bookmark_note\"\\s*:\\s*\"orient:' --limit 200 | grep -F -f $R\u002Ft1dirs | head\n# b) then your terms (-i, a few synonyms, alternation)\nfir sessions search --kind bookmark -i 'term1|term2|term3' --limit 200 > $R\u002Fhits.tsv\ngrep -F -f $R\u002Ft1dirs $R\u002Fhits.tsv | head -30   # T1 first, then the rest of hits.tsv\n```\n\nRead a hit at its line: `sed -n '\u003Cline>p' \u003Cpath> | jq -r '._bookmark_note, (.message.content \u002F\u002F . | tostring)'`\nor `rg -n -i -C0 'term' \u003Cpath>` — pull the verbatim slice, not a paraphrase.\n\n## 3. Fall through to the transcript when the slice is thin\n\nA bookmark is an entry point; the transcript (`path` in cands.tsv) is the\nwhole record. If a hit lacks the why\u002Fhow, `rg -n -i 'term' \u003Cpath> | head` and\nread around the match. No bookmark hit? Search transcripts, narrowest first:\n`fir sessions search --kind transcript -i 'terms' --cwd \"$REPO\"` (one project\ndir, every store), then add `--since 720h` without `--cwd`, then everything. Refine terms, widen the tier, iterate — a few rounds,\nnot dozens. Archive transcripts are read-only: read them, never write there.\n\n## 3b. Capability question? Grep the repo that would hold it\n\nSessions record work; repos record what shipped. Pick the likely repo beside this one\n(e.g. \"patched zulip\" → `$SRC\u002Fzulip*`) and search its docs and log:\n\n```bash\nSRC=$(dirname \"${REPO:-$PWD}\")   # the dir holding your repos\nfor d in \"$SRC\"\u002F*term*\u002F; do git -C \"$d\" grep -iEl 'term1|term2' -- '*.md'; git -C \"$d\" log --oneline -i -E --grep 'term1|term2' | head -5; done\n```\n\n## 4. ALWAYS report the searched set\n\nEnd every recall with a block like:\n\n```\nrecall: stores local + zbox (read-only); searched T1 repo=7 sessions, T2 recent=20;\nterms: \"cache|ttl\"; hits: s1a2b (T1 local, orient: map), s9f0e (T1 zbox, 2 bookmarks, transcript read)\n```\n\nIf nothing matched, say so plainly — \"no prior session mentions X in the\nN sessions searched\" — and do not fill the gap with a plausible guess.\nAbsence reported honestly is the most important output of this skill.\n\nWhen you state something learned, cite the session inline (\"X — per s9f0e\nbookmark\"), so a later bookmark of your conclusion carries its warrant.\n\n## 5. No repo map? Run `orient`\n\nIf step 2a found no `orient:` bookmark for this repo, run the `orient` skill\nnow (no need to ask) so the next session starts warm.\n",{"name":5,"builtin":44,"description":7},true,"main","ac14b9d9c9804a2ce289ac15092418a1e205f0f7","pkg\u002Fresources\u002Fbuiltin_skills\u002Frecall",0,"https:\u002F\u002Fgithub.com\u002Fkfet\u002Ffir","https:\u002F\u002Fgithub.com\u002Fkfet","https:\u002F\u002Fgithub.com\u002Fkalin-sa","2026-11-15 03:16:15",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":44},[55,58,61],{"tool":56,"command":57},"npx","npx skills add kfet\u002Ffir --skill recall",{"tool":59,"command":60},"bunx","bunx skills add kfet\u002Ffir --skill recall",{"tool":62,"command":63},"pnpm","pnpm dlx skills add kfet\u002Ffir --skill recall","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkfet\u002Ffir\u002Fblob\u002Fmain\u002Fpkg\u002Fresources\u002Fbuiltin_skills\u002Frecall\u002FSKILL.md",[],[67,88,108,129,146,172],{"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":39},"01M6CS290490SZNX8V35TF3N6X","wt","Spawn a fresh fir agent in its own tmux session on its own git worktree. Use whenever the user wants the work — or the conversation about the work — to happen over there, not here. If the user points at this skill, or has directly loaded it in the context, that alone is the cue — spawn, don't inline.","https:\u002F\u002Fgithub.com\u002Fkfet\u002Ffir\u002Fblob\u002Fmain\u002Fpkg\u002Fresources\u002Fbuiltin_skills\u002Fwt\u002FSKILL.md",[],[69,74,75,76,77,78,79,31,80,81,19,82,83,84,85,25,22,86,87],"tmux","git","worktree","git worktree","work","context","spawn","session","conversation","cue","fresh","it","at","inline",{"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":39},"01M6CS26KAKJ7VYRQ3RJ31SJ6S","wrap-up","Wrap up work on a project branch — review, fix, and simplify in a loop until clean, then ff-merge to main.","https:\u002F\u002Fgithub.com\u002Fkfet\u002Ffir\u002Fblob\u002Fmain\u002Fpkg\u002Fresources\u002Fbuiltin_skills\u002Fwrap-up\u002FSKILL.md",[],[95,96,97,98,99,100,101,102,78,103,104,105,45,106,107,22],"wrap up","up","wrap","review","merge","simplify","loop","work on","branch","fix","clean","merge to main","project",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":39},"01M6CS23P85MSVBX11XMFB29PF","tmux-observer","Attach a tmux window to an already-running fir session — observe its transcript and drive its input via tmux send-keys. Use when you need to watch or steer another fir agent.","https:\u002F\u002Fgithub.com\u002Fkfet\u002Ffir\u002Fblob\u002Fmain\u002Fpkg\u002Fresources\u002Fbuiltin_skills\u002Ftmux-observer\u002FSKILL.md",[],[74,115,116,117,81,19,118,119,120,121,122,123,24,22,124,125,126,127,20,128],"tmux observer","observer","transcript","drive","observe","attach","watch","input","via","keys","steer","window","send","running",{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":39},"01M6CS21ENQ3D7Z08TDKXHJRR6","tmux-driver","Drive interactive CLIs (python, gdb, etc.) via named tmux sessions with multi-window support. Falls back to fir's built-in PTY driver when tmux is unavailable.","https:\u002F\u002Fgithub.com\u002Fkfet\u002Ffir\u002Fblob\u002Fmain\u002Fpkg\u002Fresources\u002Fbuiltin_skills\u002Ftmux-driver\u002FSKILL.md",[],[74,136,137,138,139,38,140,141,118,142,143,123,144,145,22,126,20],"tmux driver","driver","python","support","interactive","PTY","back","gdb","multi","with",{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":39},"01M6CS1YWSAH2TQ7S4VK7VKJT6","telegram-bot-setup","Set up a new Telegram bot channel for a fir project — install the telegram MCP, create a per-project state dir, drop in the bot token, wire .fir\u002Fmcp.json with TELEGRAM_STATE_DIR, pair the user, and verify. Use when the user asks to add, configure, or onboard a Telegram bot for a fir worktree\u002Fproject.","https:\u002F\u002Fgithub.com\u002Fkfet\u002Ffir\u002Fblob\u002Fmain\u002Fpkg\u002Fresources\u002Fbuiltin_skills\u002Ftelegram-bot-setup\u002FSKILL.md",[],[153,154,155,156,157,158,159,160,76,161,162,163,164,165,166,167,168,19,96,169,107,145,22,170,20,171],"bot","setup","telegram bot","telegram","telegram bot setup","MCP","create","state","SET","verify","onboard","configure","json","pair","install","channel","drop","for","new",{"skillNo":173,"name":174,"nameZh":6,"description":175,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":176,"categories":177,"keywords":178,"publishedAt":39},"01M6CS1VSW4C1W1QED8NDHBHZ9","sync","Sync with an upstream source repo — detect changed files, apply equivalent downstream edits, update the baseline, and report any new features or non-trivial changes picked up.","https:\u002F\u002Fgithub.com\u002Fkfet\u002Ffir\u002Fblob\u002Fmain\u002Fpkg\u002Fresources\u002Fbuiltin_skills\u002Fsync\u002FSKILL.md",[],[174,179,180,181,32,96,182,183,184,145,22,185,186,187,188,171],"update","report","baseline","files","upstream","detect","source","changes","features","apply"]