AGENT SKILL

capture

Use when the user wants to capture research, create a note about a topic, ingest an external source, or add knowledge to the vault. Guides structured content creation with duplicate detection and automatic linking.

License 许可
MIT
最近更新
2026-03-22
Stars
★ 0
Forks
0

01 前言 Front Matter

name
capture
version
1.0.0
description
Use when the user wants to capture research, create a note about a topic, ingest an external source, or add knowledge to the vault. Guides structured content creation with duplicate detection and automatic linking.
disable-model-invocation
true

02 资源文件 2

03 SKILL.md 正文

Research Capture

Capture knowledge into the vault with duplicate detection, proper metadata, and automatic linking. This skill encodes the research capture recipe: search first, then create.

Iron Law

Always search before creating. Duplicates waste effort and fragment knowledge. Step 1 is non-negotiable.

Check result.success after every write. If a create or ingest call fails, stop and surface the error — do not proceed to the next step.

Workflow

  1. search(query="<topic>", limit=10) — check what already exists in the vault. If a near-duplicate title is found, ask the user: "Found existing note '<title>'. Create anyway or update existing?"

  2. Lightweight orientation — if an active session is open, skip context assembly (already oriented). Otherwise, call agent_context(topic="<topic>", budget=4000) for lightweight topic context before creating.

  3. For external sources (articles, papers, tools, specs): ingest_source(title="<title>", content="<text>", input_kind="text", target_type="reference") — creates a captured reference in the vault. Check result.success before proceeding.

  4. For synthesis or insights: create_note(title="<synthesis title>", tags=["<domain/scope>"], session=<session_id if active>) — creates a note with session linking if a session is active. Reweave fires automatically via the Reweave plugin. Check result.success.

  5. Report — surface the created content IDs, a link to the new content, any reweave suggestions from the create response, and duplicate warnings from step 1 (if any were dismissed).

Content type decision

Choose the right creation tool before acting:

  • Insight, idea, or concept → create_note
  • Decision with alternatives → create_note with subtype="decision"
  • External article, paper, or tool → ingest_source (creates a reference)
  • Follow-up action → create_task with priority, impact, and effort set
  • Quick idea, not ready to develop → garden_seed (maturity=seed, low-ceremony)

Anti-patterns

Do NOT call reweave manually after create_note — the Reweave plugin fires automatically on every create. Calling it manually causes double-reweave, which wastes time and inflates link suggestions.

Do NOT skip the search step — always check for existing content before creating. Even a brief search prevents note fragmentation.

Do NOT use generic tags — use domain/scope format (e.g., research/methodology not research). Single-segment tags are valid but produce less useful filtering.

See references/capture-workflow.md for the full content type decision tree and tagging conventions.

04 同仓库更多 Skills

ThatDevStudio
ThatDevStudio/ztlctl

vault-methodology

Use when working in a ztlctl vault — creating notes, organizing knowledge, tagging, linking, or making decisions about content types and structure. Activates for any knowledge management task.

★ 0
ThatDevStudio
ThatDevStudio/ztlctl

synthesize

Use when the user wants to synthesize scattered notes into a unified artifact, consolidate knowledge on a topic, connect existing notes, find structural gaps, or create a synthesis note. Activates on "synthesize", "consolidate", "connect my notes on X", "summarize what I know about X", "find gaps in X", or "create synthesis".

资料检索与研究
★ 0
ThatDevStudio
ThatDevStudio/ztlctl

session

Use when the user wants to start, begin, or open a work session, OR close, end, or finish an active session. Manages the full session lifecycle: pre-flight checks, polaris alignment, session start, and session close with enrichment pipeline.

★ 0
ThatDevStudio
ThatDevStudio/ztlctl

session-workflow

Use when starting, running, or closing research sessions. Guides structured knowledge capture workflows: start → capture → synthesize → close.

资料检索与研究Skill与智能体开发
★ 0
ThatDevStudio
ThatDevStudio/ztlctl

review-triage

Use when the user asks to review the work queue, triage pending items, clear the backlog, or find out what needs attention in the vault. Surfaces prioritized actionable items and batch-processes approved updates.

★ 0
ThatDevStudio
ThatDevStudio/ztlctl

review-contradictions

Use when the user wants to review conflicting notes, find inconsistencies in the vault, check for contradictions between knowledge claims, or inspect semantically-close notes that may conflict. Runs the per-pair evaluation loop to surface genuine contradictions and dismiss false positives.

★ 0