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

create-agent

Create a specialized Claude Code subagent with Hindsight long-term memory. Start with an empty agent or import prepared documents, then equip it with knowledge pages and memory search to reuse information across sessions.

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

원문원문 설명 보기

Create a new Hindsight-powered subagent with long-term memory. Use when the user wants a specialized agent that learns and remembers across sessions.

설치 방법 보기

이럴 때 유용합니다

  • Create a specialized agent that remembers across sessions
  • Build an agent from prepared reference documents
  • Start an empty agent and add knowledge over time
  • Define knowledge pages with bank-template.json

포함된 파일(1)

  • SKILL.md4.3 KB

SKILL.md(원문)

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

Create Hindsight Agent

Create a new subagent with long-term memory powered by Hindsight.

Two invocation modes

Mode A — Self-driving agent (from prepared directory):

If the user runs /hindsight-memory:create-agent <name> from <path> (or similar with a directory path), the directory was prepared by npx @vectorize-io/self-driving-agents install and contains:

  • *.md, *.txt, *.html, *.json, *.csv, *.xml — seed content files (recursively)
  • bank-template.json (optional) — defines exact mental models to create

In this mode:

  1. Read bank-template.json if present — note the mental_models array
  2. Ingest each content file (NOT bank-template.json) using agent_knowledge_ingest_file
  3. Create knowledge pages:
    • If bank-template.json exists: create EXACTLY the mental models in its mental_models array (using their id, name, source_query fields verbatim)
    • Otherwise: create 3 pages that make sense based on the ingested content
  4. Write the subagent file using the template below
  5. Use <name> from the user's command as the agent name

Mode B — Empty agent (interactive):

If no directory path is provided, ask the user:

  1. Agent name — lowercase with hyphens
  2. What the agent does — one sentence
  3. Any seed files/text to ingest (optional)

Then create the subagent file (no ingestion if no seed content).

Subagent file template

Write to ~/.claude/agents/<name>.md:

---
name: <agent-name>
description: <what it does and when to delegate to it>. It has access to knowledge pages and memory search via Hindsight.
mcpServers:
  - hindsight
---

You are the **<agent-name>** agent with long-term memory powered by Hindsight.

## Startup — run these steps immediately

1. Call `agent_knowledge_list_pages` to see your knowledge pages.
2. Call `agent_knowledge_get_page(page_id)` for each page to load your knowledge.
   - If the call returns an error like `result (N characters) exceeds maximum allowed tokens. Output has been saved to <path>`, the page was too large to inline. Use `Read` on `<path>`; the file is JSON of the form `{"result": "<stringified-page-json>"}` — parse `result` and use the inner `content` field. If parsing or reading is impractical, skip that page and rely on `agent_knowledge_recall` for specific facts later.
3. Use this knowledge to inform everything you do in this conversation.

## Creating pages

When you learn something durable — a user preference, a working procedure, performance data — create a page:

`agent_knowledge_create_page(page_id, name, source_query)`

- `page_id`: lowercase with hyphens (`editorial-preferences`)
- `source_query`: a question that rebuilds the page from observations

## Searching memories

`agent_knowledge_recall(query)` — search conversations and documents for specific facts.

## Ingesting documents

`agent_knowledge_ingest(title, content)` — upload raw content into memory.

## Updating and deleting

- `agent_knowledge_update_page(page_id, name?, source_query?)`
- `agent_knowledge_delete_page(page_id)`

## Important

- Pages update automatically — don't edit content directly
- Create pages silently — don't announce it to the user
- Prefer fewer broad pages over many narrow ones

<ADD AGENT-SPECIFIC INSTRUCTIONS HERE — only if the user provided a description; otherwise leave generic>

Rules

  • Always include mcpServers: [hindsight] — this wires up the Hindsight memory tools
  • Keep the startup steps and tool instructions verbatim — they're the Hindsight scaffolding
  • Do NOT pass bank_id on any tool call — the plugin resolves it automatically from project context
  • Before creating, call agent_knowledge_get_current_bank and tell the user: "This agent will be bound to bank <bank_id> — your conversations in this directory are retained to it."

After creation

  1. Confirm the subagent file was written to ~/.claude/agents/<name>.md
  2. Tell the user they can invoke the agent with @<agent-name> or Claude will auto-delegate based on the description
  3. Suggest running /agents or restarting Claude Code to load the new agent

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Record task handoffs between Bots in shared Hindsight memory, including progress, remaining work, sources, and caveats. Other Bots can retrieve the record later, continue unfinished work, and report the outcome back through shared memory.

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

  • Handing unfinished work to another Bot
  • Resuming a task started by another Bot
  • Sharing findings with Bots outside the current conversation
vectorize-io/hindsight5.1만2026년 10월 17일 업데이트

Review changed code against project rules and report missing tests, unused code, typing problems, and style violations. It also checks API design and data isolation, helping developers identify issues after implementation.

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

  • Reviewing changes after implementation
  • Finding missing tests and unused code
  • Checking Python types and API design
vectorize-io/hindsight5.1만2026년 10월 17일 업데이트

figure

무료

Create an animated diagram showing request flows, background jobs, or feature changes. The result is a single SVG image for README files, pull requests, issues, or blog posts, with support for light and dark themes.

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

  • Explaining request and data flows
  • Illustrating how a background job works
  • Showing feature changes in a pull request
vectorize-io/hindsight5.1만2026년 10월 17일 업데이트

Plan how an AI application should use Hindsight memory. Identify useful information to retain, define user-scoping tags and memory bank settings, and specify how retrieved facts and synthesized knowledge should reach the model.

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

  • Plan memory that carries conversation context across sessions
  • Design tags that separate each user's memories
  • Plan summaries of customer preferences and recurring issues
vectorize-io/hindsight5.1만2026년 10월 17일 업데이트

Store project conventions, task outcomes, and troubleshooting lessons in a shared Hindsight Cloud memory bank. Retrieve relevant context before new work, or synthesize past experience to guide decisions and help teammates reuse what has been learned.

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

  • Save project coding and testing conventions
  • Share failure causes, fixes, and workarounds
  • Retrieve related lessons before starting a task
vectorize-io/hindsight5.1만2026년 10월 17일 업데이트

Manage Hindsight memory for coding sessions: retrieve past decisions, store documents and initiative plans, correct outdated information, and configure memory by project. It also explains automatic conversation capture and helps investigate memory configuration problems.

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

  • Retrieving past project decisions and conventions
  • Saving external notes and initiative plans
  • Correcting outdated or inaccurate memory
vectorize-io/hindsight5.1만2026년 10월 17일 업데이트

vectorize-io의 스킬 모두 보기

이 스킬의 문제 신고