本文へ移動
cccskills
無料GitHub で公開

learn

Extract and persist insights from the current conversation to the knowledge base

インストール方法を見る

含まれるファイル(2)

  • SKILL.md4.5 KB
  • skill-report.json30.1 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Learn

Extract insights from the current conversation and persist them to the project's knowledge base.

Usage

/learn          # Quick extraction from recent conversation
/learn --deep   # Thorough analysis with forked context (uses Explore agent)

--deep Mode

When --deep is specified, the extraction runs in a forked context using the Explore agent:

  • More thorough codebase analysis to find related patterns
  • Cross-references with existing knowledge
  • Validates discoveries against actual code
  • Keeps analysis chatter out of your main conversation

Use --deep when you've had a significant debugging session or made architectural decisions you want fully documented.

What This Does

Analyzes the conversation context to identify:

  • Patterns: Approaches that worked well in this project
  • Quirks: Project-specific oddities or non-standard behaviors discovered
  • Decisions: Architectural or implementation choices made with their rationale

These insights survive session boundaries and context compaction, building a persistent understanding of the project over time.

Instructions

  1. Analyze the conversation looking for:

    • Successful problem-solving approaches that could apply again
    • Unusual behaviors or gotchas discovered about the codebase
    • Decisions made and why (architectural choices, library selections, patterns chosen)
  2. Categorize each insight as pattern, quirk, or decision

  3. Format and append to the appropriate file in knowledge/learnings/:

    • patterns.md - What works well
    • quirks.md - Unexpected behaviors
    • decisions.md - Choices with rationale
  4. Update metadata in each file's frontmatter (entry_count, last_updated)

  5. Update state in knowledge/state.json:

    • Set last_extraction to current timestamp
    • Increment extraction_count
    • Reset queries_since_extraction to 0
  6. Report what was learned to the user

Entry Format

Pattern Entry

## Pattern: [Short descriptive title]
- **Discovered:** [ISO date]
- **Context:** [What task/problem led to this discovery]
- **Insight:** [What approach works well and why]
- **Confidence:** high|medium|low

Quirk Entry

## Quirk: [Short descriptive title]
- **Discovered:** [ISO date]
- **Location:** [File/module/area where this applies]
- **Behavior:** [What's unusual or unexpected]
- **Workaround:** [How to handle it]
- **Confidence:** high|medium|low

Decision Entry

## Decision: [Short descriptive title]
- **Made:** [ISO date]
- **Context:** [What prompted this decision]
- **Choice:** [What was decided]
- **Rationale:** [Why this choice over alternatives]
- **Confidence:** high|medium|low

Confidence Levels

  • high: Clear, verified insight with strong evidence
  • medium: Reasonable inference, likely correct
  • low: Tentative observation, needs validation

Only high and medium confidence insights influence routing decisions.

Steps

  1. Review the conversation for extractable insights
  2. For each insight found:
    • Read the target file (patterns.md, quirks.md, or decisions.md)
    • Check for duplicates (skip if similar insight exists)
    • Append new entry in the format above
    • Update frontmatter (increment entry_count, set last_updated)
  3. Read and update knowledge/state.json
  4. Report summary to user:
    Knowledge Extraction Complete
    ─────────────────────────────
    Extracted:
      [Pattern] "Title of pattern learned"
      [Quirk] "Title of quirk discovered"
      [Decision] "Title of decision recorded"
    
    Knowledge base now contains:
      - X patterns
      - Y quirks
      - Z decisions
    

Example Extraction

From a conversation where we debugged an auth issue:

Quirk extracted:

## Quirk: Auth tokens require base64 padding
- **Discovered:** 2026-01-08
- **Location:** src/auth/tokenService.ts
- **Behavior:** JWT tokens in this codebase use non-standard base64 without padding, causing standard decoders to fail
- **Workaround:** Use the custom `decodeToken()` helper instead of atob()
- **Confidence:** high

Notes

  • This command extracts insights from the CURRENT conversation
  • For continuous extraction, use /learn-on instead
  • Insights should be project-specific, not generic programming knowledge
  • Avoid extracting obvious or trivial information
  • When in doubt about confidence, use "medium"

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Trigger for: explaining current FAR, DFARS, or agency-supplement text; determining documented acquisition-policy status for an agency and FAR part; comparing codified text, RFO model text, and agency deviations; tracing acquisition rulemaking; finding procurement comment periods; analyzing public comments; refreshing prior policy analysis; or producing an Acquisition Policy Impact Brief. Use published federal sources and supplied policy documents without making legal or procurement-specific applicability determinations. Do not use for clause selection, market research execution, opportunities, pricing, grants, or cooperative agreements.

日本語の概要は準備中です。原文の説明を表示しています。

aiskillstore/marketplace4332026年10月11日 更新

Systematic framework for extracting actionable items from documents and organizing them into prioritized, trackable checklists. Use when converting reports, meeting notes, audits, or any document with embedded action items into structured TODO lists.

日本語の概要は準備中です。原文の説明を表示しています。

aiskillstore/marketplace4332026年10月11日 更新

Browser automation for AI agents via inference.sh. Navigate web pages, interact with elements using @e refs, take screenshots, record video. Capabilities: web scraping, form filling, clicking, typing, drag-drop, file upload, JavaScript execution. Use for: web automation, data extraction, testing, agent browsing, research. Triggers: browser, web automation, scrape, navigate, click, fill form, screenshot, browse web, playwright, headless browser, web agent, surf internet, record video

日本語の概要は準備中です。原文の説明を表示しています。

aiskillstore/marketplace4332026年10月11日 更新

This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.

日本語の概要は準備中です。原文の説明を表示しています。

aiskillstore/marketplace4332026年10月11日 更新

Run AI apps via inference.sh CLI - image generation, video creation, LLMs, search, 3D, Twitter automation. Models: FLUX, Veo, Gemini, Grok, Claude, Seedance, OmniHuman, Tavily, Exa, OpenRouter, and many more. Use when running AI apps, generating images/videos, calling LLMs, web search, or automating Twitter. Triggers: inference.sh, infsh, ai model, run ai, serverless ai, ai api, flux, veo, claude api, image generation, video generation, openrouter, tavily, exa search, twitter api, grok

日本語の概要は準備中です。原文の説明を表示しています。

aiskillstore/marketplace4332026年10月11日 更新

Agile ceremonies and sprint management specialist. Use when running standups, retrospectives, sprint planning, or tracking sprint progress.

日本語の概要は準備中です。原文の説明を表示しています。

aiskillstore/marketplace4332026年10月11日 更新

aiskillstore のスキルをすべて見る

このスキルの問題を報告する