Skip to content
FunCoding

Search

Search docs, Skills and MCP

harvest

Capture durable session learnings, stage for human promotion to 05-knowledge/lizard, and propose skill/CLAUDE.md patches. Triggered by /harvest, SessionEnd hook staging, or nightly enhance. Never writes durable knowledge without your approval.

AI 与智能体1.3kskills/harvest/SKILL.md

Install

Send this to Claude Code, Codex or Cursor. The agent checks the Skill for safety first and installs it only after you confirm.

读取 https://funcoding.ai/skills/huytieu/cog-second-brain/harvest/install.md ,按里面的步骤帮我安装这个 Skill。

SKILL.md

/harvest — session learning capture

Adapted from dwarves-kit harvest hook + vault lizard pipeline. Prevents tacit knowledge dying in the transcript.

Triggers

  • /harvest — manual end-of-session
  • /harvest promote — curate staging → lizard drafts (uses harvest-curator)
  • Staging file written by stop hook (.cursor/hooks/harvest-stager.sh)

Phase 1 — Collect (automatic or manual)

Scan the current session for:

  1. Corrections you made ("no, actually X", rejected deliverables)
  2. New stable facts (IDs, URLs, decisions) not yet in 05-knowledge
  3. Process lessons (what worked, what failed, friction)
  4. Skill gaps (something that should be a Verify step or CLAUDE.md rule)

Append to 04-projects/harness/harvest/staging-<YYYY-MM-DD>.md:

## <HH:MM> — <trigger>
- type: correction|fact|process|skill-gap
- source: <file or "session">
- text: <one paragraph max>
- proposed_home: <path or "new lizard note">

Dedup: skip if same fact already in staging today or in 05-knowledge.

Phase 2 — Curate (/harvest promote)

Spawn harvest-curator (Sonnet). It writes /tmp/harvest-curate-<date>.md.

Lead (Opus) presents to the user:

  • Promote list → approve which become 05-knowledge/lizard/YYYY-MM-DD-<slug>.md
  • Fold list → approve inline edits to existing notes
  • Skill patches → approve CLAUDE.md / SKILL.md diffs

Only after approval: write durable files. Update 05-knowledge/lizard/index.md.

Phase 3 — Retro line

One line to 01-daily/journal/<today>.md:

Harvest: <n> staged, <m> promoted, <k> folded

Rules

  • Harvest is advisory. It never auto-writes 05-knowledge.
  • Contradictions with existing knowledge → flag both, ask the user.
  • Pair with /memory-hygiene monthly for environment-dependent facts in ~/.claude/.../memory/.

Nightly enhance (optional)

If you want harvest to run unattended, schedule a job that invokes the skills in this order. There is nothing to install first, since COG ships no hooks.

/memory-hygiene
/harvest promote     # only if the staging file is non-empty
/content-factory     # only if scheduled

Similar Skills

brand-guidelines
anthropics/skills180k

brand-guidelines

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

AI & agents

internal-comms
anthropics/skills180k

internal-comms

A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).

AI & agents

template-skill
anthropics/skills180k

template-skill

Replace with description of the skill and when Claude should use it.

AI & agents

mcp-builder
anthropics/skills180k

mcp-builder

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

AI & agents

algorithmic-art
anthropics/skills180k

algorithmic-art

Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.

AI & agents

academy-guide
anthropics/skills180k

academy-guide

Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials, and use cases from Claude Academy (academy.claude.com), Anthropic's learning hub. Trigger on: "how do I", "how can I", "getting started with", "what can Claude do", "teach me", "learn to use"; questions about artifacts, projects, skills, plugins, connectors, MCP; requests about rolling Claude out to a team, class, or organization; and any ask for training materials, onboarding content, or learning resources. Use it when the user is learning how to use a feature or product — not when they are mid-task and just want the task done. This skill composes with other skills: after consulting product documentation to answer how a Claude feature works, also check here for a matching course or tutorial — a docs-grounded answer and an Academy recommendation belong together. Only recommend on a strong match; never invent Academy content.

AI & agents