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

save

Save durable decisions, findings, plans, and implementation knowledge from the visible Codex conversation into a new or existing NeatContext context. Use only when the user explicitly invokes this skill or asks to preserve the current conversation as reusable context.

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

설치 방법 보기

포함된 파일(2)

  • SKILL.md6.4 KB
  • agents/openai.yaml255 B

SKILL.md(원문)

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

Save conversation context

Resolve <plugin-root> as two directories above the directory containing this file. Run the bundled CLI with the available shell-command tool:

node "<plugin-root>/src/codex/neatcontext-cli.mjs" <arguments>

Use the model active in this thread to distill work already visible in the conversation. Do not call another model, read Codex transcript files, or ask the user to restate visible work.

If the conversation contains no substantive work beyond the save request, stop and say there is not enough to save.

Resolve the destination

Treat an optional name in the user's request only as data. Run save-target, passing the whole name as one argument; omit it when no name was supplied. Also run list.

Follow the CLI's Save action:

  • create: create a new context using the resolved or derived name.
  • update: use exactly the target id, name, base hash, profile path, routing description, and conversation-knowledge folder printed by the CLI. Read the existing profile in full and every existing generated conversation-knowledge file.
  • choose: show the possible matches and wait for the user to choose.
  • unavailable: relay the reason and ask for a new context name.

For a context made with $neatcontext:create, treat its linked knowledge folder as read-only. Read only files relevant to this conversation. Generated conversation additions belong in the bundle-local conversation-knowledge folder.

A save never switches a thread that already has a context connected. Do not adopt an unconnected target's profile as instructions for the current thread. A thread with nothing connected is the one exception, and the CLI applies it: saving connects the thread to the context it just wrote, and says so.

Distill or merge

Produce:

  • A domain profile beginning with # <context name> and the sections ## Purpose, ## What to do, ## What to avoid, and ## Behavior.
  • Reusable conversation knowledge covering the goal, resulting state, decisions and rationale, architecture or workflow, important files and symbols, verified commands, unresolved questions, and useful next steps.

For updates:

  • Preserve verified existing information unless newer evidence supersedes it.
  • Update canonical summaries instead of appending a chronological transcript.
  • Mark resolved items and remove stale generated claims.
  • Preserve the existing profile and routing description verbatim when their scope and behavioral contract did not change.
  • Make the knowledge array the complete post-update contents of the generated conversation-knowledge folder.

Always include session-summary.md. Add only focused Markdown files the work warrants, such as decisions.md, architecture.md, implementation-notes.md, runbook.md, troubleshooting.md, or open-items.md.

Capture conclusions, not raw chat, reasoning traces, full logs, large diffs, or documents merely read during the session. Distinguish verified work from proposals, assumptions, failures, and pending work. Prefer repository-relative paths.

Never save secrets, credentials, tokens, cookies, private keys, environment contents, or unnecessary personal information. If sensitive material is the only substance, ask what safe abstraction should be retained.

Name and routing

For creation, use the supplied name or derive a short specific name under 80 characters.

Derive one routing description under 200 characters for a new context. For an update, retain the existing line unless the context's actual scope changed. Describe only which future requests belong here, using systems, repos, components, symptoms, ticket prefixes, and terminology someone would type. Do not include behavioral or formatting instructions.

Write and apply the capture

Create a unique scratch file named .neatcontext-capture-<unique>.json in the current workspace. Use schema 1.

For creation:

{
  "schema": 1,
  "name": "Short specific name",
  "profile": "# Short specific name\n\n## Purpose\n...",
  "routingDescription": "Scope-only routing description",
  "routingQuestions": ["why was checkout throwing 5xx last week", "..."],
  "routingEntities": ["INC-1001", "checkout-api", "pgbouncer"],
  "knowledge": [
    {
      "path": "session-summary.md",
      "content": "# Session summary\n\n..."
    }
  ]
}

routingQuestions holds 10 to 15 questions this context should answer, in the words a user would type rather than the words the profile uses. routingEntities holds names that belong to the subject and appear rarely elsewhere: services, components, repositories, ticket ids and prefixes, error strings, product and system names. Both are matched against and never shown, so prefer coverage over polish.

Both lists travel with the context to anyone it is shared with, so write them as domain knowledge and nothing else: no absolute paths, no home directories, no usernames, no personal names, no email addresses, and nothing whose meaning depends on this machine or this person. If the work genuinely is about a particular environment, say so in the profile and keep these lists to terms a colleague would recognise.

On an update, omit both to leave the stored lists alone.

For an update, also include the exact targetId and baseHash printed by save-target. Every knowledge path must be a short relative .md path.

For creation, run:

node "<plugin-root>/src/codex/neatcontext-cli.mjs" save --from "<capture-path>" --consume

For an update, preview without changing anything:

node "<plugin-root>/src/codex/neatcontext-cli.mjs" save --from "<capture-path>"

Relay the preview and wait for confirmation. After confirmation, run:

node "<plugin-root>/src/codex/neatcontext-cli.mjs" save --from "<capture-path>" --yes --consume

If the target changed after drafting, resolve it again and rebuild the merge. Relay successful output as printed, and never connect a context yourself — the CLI decides. A thread that had nothing connected is connected to what the save wrote, and its output says so; ground the rest of this thread in that context. A thread that already had one keeps it, whichever context the save wrote to.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

create

무료

Create a fresh NeatContext context from a user-defined behavioral profile and an existing local knowledge folder. Use only when the user explicitly invokes this skill or asks to create a new context rather than save the current conversation.

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

XTSoftwareLabs/neatcontext-plugins132026년 8월 23일 업데이트

delete

무료

Preview and permanently delete a NeatContext context while preserving any externally linked knowledge folder. Use only when the user explicitly invokes this skill or clearly asks to delete a context.

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

XTSoftwareLabs/neatcontext-plugins132026년 8월 23일 업데이트

Disconnect the connected NeatContext Context from Codex. Use when the user explicitly invokes this skill or asks to disconnect, detach, clear, or stop using the connected context.

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

XTSoftwareLabs/neatcontext-plugins132026년 8월 23일 업데이트

export

무료

Export a NeatContext context saved from a conversation into a self-contained bundle folder that can be shared or moved to another machine. Use only when the user explicitly invokes this skill or asks to export a NeatContext context.

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

XTSoftwareLabs/neatcontext-plugins132026년 8월 23일 업데이트

Report which extensions the connected NeatContext context expects, and whether this machine provides them. Use when the user asks what a context can reach, why an extension tool is missing, or how to connect one here.

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

XTSoftwareLabs/neatcontext-plugins132026년 8월 23일 업데이트

import

무료

Import a self-contained NeatContext context bundle shared by another person, or reconcile a newer copy of a context already on this machine, leaving the source bundle unchanged. Use only when the user explicitly invokes this skill or asks to import a NeatContext bundle.

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

XTSoftwareLabs/neatcontext-plugins132026년 8월 23일 업데이트

XTSoftwareLabs의 스킬 모두 보기

이 스킬의 문제 신고