Logo Pass Along

Pass Along

Cộng đồng
jbdamask
pass-along

Write a session pass-along document to .pass-along/<YYYY-MM-DD-HHMM>-PASS-ALONG.md capturing operational state — what moved, what is half-done, which loops are still open, and the traps that wasted time — with frontmatter metadata (model, repo, branch, HEAD sha, issue tracker, issues, beads) for the agent that picks the work up. Use when the user says "write a pass-along", "/pass-along", "write a handoff", "hand this off", "I'm wrapping up", "save state for next session", "end of session notes", or is about to stop work, switch machines, or hand a branch to someone else. Also offer one proactively after a significant milestone or when context is about to compact. Companion to the session-recap skill, which reads these.

Tổng quan

Nhà phát hànhjbdamask
Kho mãjohn-claude-skills
Tên kỹ năngpass-along
Sao
29
Bản fork
3
Tệp đi kèm
1
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được jbdamask công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Pass Along trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/jbdamask/john-claude-skills/tree/main/plugins/john-skills/skills/pass-along
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jbdamask/john-claude-skills.git /tmp/john-claude-skills
mkdir -p .claude/skills
cp -r /tmp/john-claude-skills/plugins/john-skills/skills/pass-along .claude/skills/pass-along
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Pass Along trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Pass Along ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Pass Along với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Session Pass-Along

Write the document the next session needs — human or agent, possibly on another machine, with none of your context.

A pass-along is not a summary of the conversation and not a changelog. Git already has the changelog. The pass-along carries what git cannot: which work is half-finished and where the seam is, what you tried that did not work, what was decided and why, and what might have moved after you stopped.

Recommend, but don't decide. Whoever directs the next session — a human, an orchestrator agent — may be pointing it somewhere you know nothing about. You spent this session on Stripe payments; they may have already decided the next one is security hardening. So say what you'd do next and why, especially when scoped work went unfinished — that judgment is worth having. Just make sure it reads as this session's recommendation, held next to a neutral inventory of everything you left open, so it can be weighed and overruled. A recommendation stated as a directive gets obeyed, because the pass-along is the most-trusted document in the next session's context.

Output

<repo root>/.pass-along/<YYYY-MM-DD-HHMM>-PASS-ALONG.md — local time, e.g. .pass-along/2026-08-19-1430-PASS-ALONG.md.

One file per pass-along. Never overwrite or edit an earlier one; the folder is an append-only chain, and each pass-along names its predecessor. Pass-alongs are committed to the repo, so they travel with the branch — which means never put secrets, tokens, or credentials in one. Reference where a value lives (the SA key is in 1Password / SSM at /foo/bar), never the value.

1. Gather the facts

Run scripts/gather.sh from this skill's own directory — every harness tells you where that is when it loads the skill.

bash
bash "<this skill's directory>/scripts/gather.sh"

Under Claude Code you can write the line below instead. It uses the plugin-root placeholder — the name CLAUDE_PLUGIN_ROOT wrapped in ${…} braces — which Claude Code replaces with an absolute path when it loads this file, so by the time you read it the path is already filled in. (That substitution is why this paragraph spells the name out instead of showing the token: written literally, it would be replaced here too, and the sentence would describe a path instead of a placeholder.)

bash
bash "${CLAUDE_PLUGIN_ROOT}/skills/pass-along/scripts/gather.sh"

No other harness substitutes it, and it is not a shell variable — it is exported to hook and MCP subprocesses only, never to an ordinary tool call. If that token reaches a shell unexpanded it becomes /skills/pass-along/scripts/gather.sh and fails with a bare "No such file or directory". Seeing a path that starts at /skills/ means you are on a harness that did not substitute: use the skill directory instead.

Read-only, and needs python3 for the session block. It returns the timestamp slug, the running harness with its model and effort, other agents' recent sessions in this repo, the previous pass-along and its HEAD_SHA, branch/remote/upstream state, the working tree, the commits since the last pass-along, beads or other tracker state, open PRs, per-agent project config, and whether .pass-along/ is properly tracked.

Everything else comes from the session you just lived through. The script supplies facts; you supply judgment about what those facts mean.

2. Frontmatter

yaml
---
DATE: 2026-08-19T14:30:00-0400
TITLE: Wire the pack registry to the shop page
STATUS: in_progress          # in_progress | blocked | milestone_complete | abandoned
MODEL: claude-opus-5         # the API model id, not a harness label
MODEL_EFFORT: high           # low | medium | high | xhigh | max
HARNESS: claude-code 2.1.235  # or codex 0.148.0 | amp | opencode 1.1.53 | grok 1.0.5
SESSION_ID: d14bf04b-e7f1-4a20-b851-e0f5abb0c04e
REPO: jbdamask/john-claude-skills   # owner/name from the origin remote; blank if there is none
WORKING_DIR: /Users/j/code/john-claude-skills   # where the work happened; omit if same-as-obvious
BRANCH: feat/pack-registry
HEAD_SHA: 1578eff
UPSTREAM: origin/feat/pack-registry (ahead 2)
WORKTREE: dirty              # clean | dirty — see "Uncommitted work" below if dirty
ISSUE_TRACKER: GitHub        # GitHub | Linear | Jira | Beads | none
ISSUES: ["#9", "#28"]
TASK_TRACKER: Beads          # omit if the project has none
BEADS: ["rockysurf-arym (epic, 11/13)", "rockysurf-4aed (ready, unclaimed)"]
PRS: ["#28 open, CI pending"]
OPEN_LOOPS: ["PR #28 open, CI unverified", "migrate.py handles users, not orgs", "webhook retry deliberately deferred"]
RECOMMENDED_NEXT: Finish migrate.py org handling — it is the only in-scope item left unfinished.  # this session's view, not a decision
SCOPE_COMPLETE: false        # was everything this session set out to do actually finished?
PREDECESSOR: .pass-along/2026-08-18-0912-PASS-ALONG.md
PRIME: ["bd ready", "npm run dev"]   # commands the next session should run first
---

Rules for the fields:

  • MODEL / MODEL_EFFORT — take these from the harness, not from self-report. Most coding agents record the model and reasoning effort in a local session transcript or in the environment, and that record is authoritative in a way your own introspection isn't: it carries the exact model id rather than a display name, and effort is usually not visible to you at all. gather.sh resolves them where it can. Precedence: harness transcript or environment → your own session context → unknown. Never guess a model id.
    • MODEL must be the id an API would accept (claude-opus-5), not a harness label. Claude Code shows the running model as claude-opus-5[1m], where [1m] marks the 1M-context session variant — that suffix is client-side notation and is not a valid model id. The transcript's message.model has the clean value; use it.

    • gather.sh resolves six harnesses. Where it prints unknown, write unknown — that is the honest answer, and better than a plausible guess a later reader would trust.

      HarnessEnv overridemac / LinuxWindowsModel / effort
      Claude CodeCLAUDE_CONFIG_DIR relocates all of it~/.claude/projects/<cwd, / as ->/<id>.jsonl%USERPROFILE%\.claude\...message.model, top-level effort, version
      Codex CLICODEX_HOME~/.codex/sessions/YYYY/MM/DD/rollout-*-<id>.jsonl%USERPROFILE%\.codex\...turn_context.payload.model; effort often absent
      AmpAMP_HOME, AMP_PWD~/.local/share/amp/threads/T-*.json, else ~/.cache/amp/logs/threads/<id>.logtries the same unix-style layout, then %LOCALAPPDATA%/%APPDATA%last messages[].usage.model; agentMode is the effort analogue
      opencodeOPENCODE_DB$XDG_DATA_HOME/opencode/opencode.db (SQLite, ≥1.18); legacy storage/session/*/ses_*.json%LOCALAPPDATA%\opencode\data\opencode.dbmodelID / providerID off the newest assistant message; agent mode, no reasoning effort
      Grok CLIGROK_HOME~/.grok/sessions/<percent-encoded cwd>/<id>/summary.json%USERPROFILE%\.grok\...current_model_id (or model_id in chat_history.jsonl), reasoning_effort
      Cursor CLICURSOR_HOME~/.cursor/chats/<workspace-hash>/<chat-id>/ — meta.json has cwd+title, store.db has the model%USERPROFILE%\.cursor\...providerOptions.cursor.modelName on an assistant blob in store.db; no effort recorded
    • Cursor writes its chats only on first run, not at install — the installer just drops the binary in ~/.local/share/cursor-agent/versions/<version>/, which is where the reported version comes from. An install with no sessions yet has no ~/.cursor/chats at all. meta.json records the workspace directly, so cursor sessions match this repo by cwd like codex, opencode and grok rather than needing an env var. session_id is the chat id cursor-agent --resume=<id> accepts.

    • How much of that is documented. The env overrides, the four home directories and opencode's Windows location are vendor-documented. The per-harness file layouts inside those directories are not — Amp's thread store especially is undocumented, and everything below the home directory was read off live installs on one macOS machine. Treat the homes as reliable and the internals as observed-not-promised: they have already moved once (opencode went from a JSON tree to SQLite between 1.1 and 1.18, which silently broke detection until the DB was added). If a harness reports none for this repo and you believe otherwise, the layout is the first thing to suspect.

    • Windows runs this script through Git Bash or WSL — it is bash, and there is no native cmd/PowerShell path. Under Git Bash $HOME is %USERPROFILE%, so the ~-rooted paths resolve. Under WSL they resolve to the Linux home, which is a different set of sessions than a native Windows install writes; a session started on one side is invisible from the other.

    • Codex, opencode and Grok record the session's cwd, so the script matches sessions to this repo by path. Amp and Claude Code key off an env var or the workspace root. A session opened at a parent directory does not count as this repo's.

    • Inference never picks an unconfirmed session. A candidate whose workspace cannot be tied to this repo is reported under OTHER_AGENT_SESSIONS, never as the active session — a wrong HARNESS/SESSION_ID pair is worse than unknown, because the next reader trusts it. If the block says unknown, write unknown.

    • detected_via tells you how much to trust the block. An env var or grok's active_sessions.json is direct evidence. INFERRED means the script guessed from the most recent matching session — check the session id is really yours before copying it into frontmatter.

    • On a harness not in that table: look for an equivalent local transcript or env var before falling back to unknown.

  • OTHER_AGENT_SESSIONS — the script also reports the most recent session each other harness had in this repo. If another agent was working here recently, say so in ## May have moved since I stopped; the next session may be walking into someone else's uncommitted work. A row marked workspace unverified is a session the script could see but could not tie to this repo — don't assert it as fact.
  • HARNESS / SESSION_ID — which agent tool ran the session, and its transcript identity. SESSION_ID is what lets a later session go read the raw log when this pass-along leaves a gap. Omit both if the harness doesn't expose them.
  • REPO / WORKING_DIR — REPO is the remote's owner/name, and nothing else. If the directory has no origin remote, leave REPO blank — a local path is not a repo identity, and writing one there makes an unpushed scratch directory look like a project a later reader can clone. Put the path in WORKING_DIR instead. gather.sh prints both, already resolved.
  • HEAD_SHA — the single most important field. session-recap uses it to run git log <HEAD_SHA>..HEAD and detect anything that landed after this pass-along was written.
  • OPEN_LOOPS — one line per thread this session left unclosed, in the order you happen to think of them. A neutral inventory, not a ranking. Empty only if you genuinely finished everything.
  • RECOMMENDED_NEXT — one sentence: what you'd pick up first, if it were your call. It isn't your call, and the wording should not pretend otherwise. Omit it if you have no real basis for one — a fabricated recommendation is worse than none.
  • SCOPE_COMPLETE — false if work the session set out to do went unfinished. This is the flag that tells an orchestrator your recommendation deserves weight: unfinished in-scope work is exactly the case where the session that did it knows best.
  • STATUS: blocked — the body must say what the block is and who or what unblocks it.
  • PRIME — how to boot the environment, not what to work on.
  • Omit fields that don't apply (TASK_TRACKER in a project without one). Never write N/A filler.

3. Body

Lead with what could bite, not with what you accomplished. Use these headings so session-recap can find things; drop any section that is genuinely empty.

## Start here

Two or three lines: the one-sentence state of the work, and the literal first commands to run. Point at the predecessor pass-along and any plan or devlog that carries the narrative.

## May have moved since I stopped

State you left in flight and could not confirm: a CI run still going, a PR awaiting checks, a deploy mid-flight, a background job, a rate limit that resets at a known time, a service someone else was restarting. Say what to check and what the expected outcome was. This section is why the pass-along exists — put it first and be specific enough to verify.

## What this session did

Headlines only, each with a pointer to the evidence — commit sha, PR number, bead id, file path. Do not restate the diff. Include the why where a reader could otherwise undo it: "split-horizon registry, because the owner ruled official packs ship in the tarball."

## Commits

The list from the gather script, since the predecessor pass-along. Bounded — if it runs past ~25, summarize the bulk and list only the ones that carry a decision or a risk. Note any commit that is not pushed.

## Uncommitted work

Only if the tree is dirty. For each meaningful change: the file, what it does, and whether it is finished, half-finished, or a scratch experiment to delete. A next session cannot tell a deliberate WIP from abandoned debris — say which. Note stashes too.

## Open threads

Every loop this session left open — the neutral inventory, unranked. Your recommendation goes in the next section; keep this one clean so it can be read independently.

For each: what it is, what state it's in (ready to pick up / blocked / needs a human decision), where the full context lives (bead, issue, ADR, file path), and what "done" would look like. Where a real dependency exists, state it as a constraint — "the schema migration has to land before the backfill" is a fact about the work, not a preference about priority. Mark which items were in scope for this session and went unfinished, versus which are new discoveries or deferred extras; an orchestrator weighs those differently.

If you left a piece of work mid-edit, say where the seam is: what's implemented, what isn't, and the approach in flight.

## Recommended next — this session's view

What you'd do first if it were your call, and why. The reasoning matters more than the pick: an orchestrator redirecting to unrelated work still needs to know that the migration is half-applied, or that leaving the webhook un-retried has a deadline attached.

Keep the frame honest. You saw one session; the person reading this may be steering a program you know nothing about. Write "I'd finish the org branch of migrate.py first — it's the only in-scope item left, and the half-applied state is a hazard if anyone runs the migration meanwhile," not "next, finish migrate.py."

Flag consequences of not doing it, where real. That's the part an orchestrator genuinely cannot reconstruct, and it's what makes a recommendation worth overriding deliberately rather than by accident.

## Stated direction

Only what the user actually said about what comes next, attributed and close to their words: "the user said the retry logic can wait until after the launch." This outranks your recommendation — if the two conflict, say so explicitly. Never put your own inference here, and omit the section entirely if they said nothing.

## Decisions and rules

Choices made this session that constrain future work, each with its reason. Also any rule you learned the hard way — the thing that must not be done again. These are the entries most likely to be silently violated by a session that skips the pass-along.

## Traps

Things that cost time and will cost it again: a flaky test and its real cause, a command that resolves the wrong database, a tool whose flag is a lie, an error message that means something other than it says. Be blunt.

## Waiting on a human

Decisions, approvals, credentials, or console clicks only the user can do. Name each one and what is blocked behind it.

## Housekeeping

Scratch checkouts, temp files, env changes, running processes, anything left in a nonstandard state — and whether it's safe to clean up.

4. Finish

  • Create .pass-along/ if it doesn't exist. If it's gitignored, tell the user — these are meant to be committed.
  • git add the new pass-along. Don't commit it unless the user asks; they usually want it in the same commit as their work.
  • Tell the user the path, the open loops you recorded, and your recommendation, so they can correct any of it while they still remember.

Quality bar

Before writing, check the draft against these. Every one of them is a real failure mode:

  • Would this be useful to someone who was not in the session? Cut anything only you can decode.
  • Does it say what is unfinished, not just what is done? A pass-along of only accomplishments is a status report and is nearly useless.
  • Is every open loop listed, including the embarrassing ones you'd rather not flag?
  • Is the inventory of open threads separable from your recommendation, so someone can read the state without inheriting your read on it?
  • Does the recommendation carry its reasoning and its consequences-of-skipping, so it can be overruled on the merits? And is it phrased as a view, not an instruction?
  • Does every claim have a pointer — sha, PR, bead, file:line? Unsourced assertions get treated as facts and propagate.
  • Did you record the failures? What you tried that did not work is worth more than what worked, because the next session will otherwise try it again.
  • Is it honest? If something is broken, half-built, or was done badly under time pressure, say so plainly. A pass-along that oversells state actively misleads the agent that trusts it.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Pass Along làm được gì?

Write a session pass-along document to .pass-along/<YYYY-MM-DD-HHMM>-PASS-ALONG.md capturing operational state — what moved, what is half-done, which loops are still open, and the traps that wasted time — with frontmatter metadata (model, repo, branch, HEAD sha, issue tracker, issues, beads) for the agent that picks the work up. Use when the user says "write a pass-along", "/pass-along", "write a handoff", "hand this off", "I'm wrapping up", "save state for next session", "end of session notes", or is about to stop work, switch machines, or hand a branch to someone else. Also offer one proa...

Vì sao nên dùng Pass Along trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Pass Along là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Pass Along trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/jbdamask/john-claude-skills/tree/main/plugins/john-skills/skills/pass-along. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Pass Along?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Pass Along với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Pass Along với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Pass Along có miễn phí không?

Có. Kỹ năng này được jbdamask phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇