본문으로 건너뛰기
cccskills
무료GitHub에 공개

load

Load context from an earlier Claude Code or Codex session, selected by conversation name or recency. Explicit invocation only: `/load` in Claude Code, `$load` in Codex. Never trigger this from ordinary wording such as "load" or "continue".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md5.6 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Load context from earlier sessions

Both tools keep every conversation on disk: Claude Code as ~/.claude/projects/<project>/<id>.jsonl, Codex as ~/.codex/sessions/**/rollout-*.jsonl indexed by ~/.codex/state_5.sqlite. The script in this skill reads both, including the other OS side of a WSL setup, and writes an extraction to a file that you then read.

Invocation

The user invokes this skill explicitly, with everything after the command as arguments. In Claude Code they arrive as $ARGUMENTS; in Codex they are the rest of the message after $load.

/load <selector>[, <selector>...] [tactic] [--query TEXT]

Arguments for this invocation: $ARGUMENTS

  • /load Security navigation section loads the session whose title contains that name.
  • /load codex:0 loads the newest Codex thread; /load -1 the second-newest session from either tool.
  • /load Security navigation section, codex:0 loads two sessions into one file.
  • /load website redesign actions uses the actions tactic; a trailing word that names a tactic is the tactic, everything before it is the selector. /load website redesign search --query trivy searches.
  • /load with no arguments: run list, show the newest ten sessions, and ask which one to load.

Treat the arguments as a conversation name unless they are an index, a tool: prefixed selector, a session id, or a path. Do not run this skill when it was not invoked by name.

Run every command from the repository root with Bun:

bun .agents/skills/load/scripts/load-context.ts list [--tool claude|codex|all] [--limit N] [--all-projects]
bun .agents/skills/load/scripts/load-context.ts extract SELECTOR... [--tactic TACTIC] [options]

Selectors

[claude:|codex:]<index | title substring | session id | transcript path>

  • 0 is the newest session, -1 the one before, and so on. A bare index counts across both tools; claude:0 or codex:-1 counts within one tool. The current session is excluded when the tool exposes its id.
  • A name matches a title case-insensitively, first as a substring, then as a set of words in any order. Claude titles are the session name or AI title; Codex titles are the thread name or the first prompt. An ambiguous name prints the candidates; pick one by index.
  • Sessions are filtered to the current project directory name. Pass --all-projects to widen.

Tactics

TacticWhat it loadsUse when
messagesUser and assistant text only (default)Design and decision conversations; the dialogue is the content
actionsMessages plus one line per tool call (files, commands)Continuing coding work; combine with git diff
fullMessages, tool calls, and truncated tool resultsDebugging sessions where evidence in outputs matters
summaryThe tool's own compaction summariesFree and fast, only exists if the session compacted
searchSnippets around --query hits across all textYou need one fact from a large session
handoffAsks the old session to write a handoff (runs its CLI)Best quality per token; costs one full pass of the old session

Useful options: --last-turns N keeps only the last N user turns. --max-result-chars N bounds each result in full. --query TEXT is a substring or regex for search. --prompt TEXT replaces the handoff prompt. --stdout prints instead of writing a file.

Procedure

  1. If the user named a session loosely, run list first and confirm the match by index.
  2. Run extract. It prints the output path and the size in characters and approximate tokens.
  3. Read the file. For a large file, read it in parts and stop when you have what the task needs.
  4. Tell the user in a few lines which session and tactic you loaded and the size. Do not paste the file back.
  5. Continue the user's task with that context.

Pick the tactic from the session type when the user does not choose one: messages for discussions, actions for coding sessions, search when the user wants a specific fact. Suggest handoff for a very large session and say that it reprocesses the whole session once through the tool's CLI, which costs money and takes minutes. Codex handoff runs with a read-only sandbox; Claude handoff runs with tools disabled.

Caveats

  • Transcript formats are internal to both tools and change between releases. If the script prints a parse warning or an empty extraction, say so instead of guessing.
  • Codex stores compaction summaries encrypted. The summary tactic shows only the plain messages Codex kept.
  • Codex cannot resume some older threads (list_turns is not supported yet, Codex issue #37754). The script reports it; fall back to messages, actions or full for those threads.
  • The handoff turn is appended to the old session's transcript, so it is visible when that session is resumed.
  • Transcripts can contain secrets from tool output. Extractions go to the temp directory; never commit them or paste raw tool output into a shared place.
  • Numbers from list are transcript size divided by four and overstate what a tactic loads.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Run, diagnose, or manually test the private Stacktape Console locally, especially when local API/UI behavior must use the shared dev RDS data, Cognito users, AWS services, OAuth callbacks, or provider webhooks. Use for Console dev-mode setup, deciding between UI-only and full mode, shared-dev migrations, and GitHub/GitLab/Bitbucket end-to-end testing.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

stacktape/stacktape812026년 10월 19일 업데이트

Redesign Stacktape's marketing website or Console through visual exploration, independent design critique, and browser verification. Use for substantial page, flow, or visual-system design work, including agent-led redesigns.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

stacktape/stacktape812026년 10월 19일 업데이트

wtf

무료

Make AI coding-agent messages to humans clear and easy to follow. Use for every user-facing update, explanation, review, question, and handoff in this repository, or when the user asks to simplify or rewrite an agent message.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

stacktape/stacktape812026년 10월 19일 업데이트

wtf

무료

Make AI coding-agent messages to humans clear and easy to follow. Use for every user-facing message in this repository, or when the user asks to simplify or rewrite an agent message.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

stacktape/stacktape812026년 10월 19일 업데이트

stacktape의 스킬 모두 보기

이 스킬의 문제 신고