arscontexta

agenticnotetakingMIT更新放缓

通过对话描述你的思考和工作方式,自动生成一套完全归你所有的 Markdown 个人知识系统,相当于用 Claude Code 插件搭出专属第二大脑。

Claude Code plugin that generates individualized knowledge systems from conversation. You describe how you think and work, have a conversation and get a complete second brain as markdown files you own.

暂无版本3,518star233fork同步于 2026-11-10 11:40 UTC

怎么上手

由 README 提炼,执行前请确认
/plugin marketplace add agenticnotetaking/arscontexta
/plugin install arscontexta@agenticnotetaking
/arscontexta:setup
硬件要求按 README 说明

README 未说明硬件要求;依赖 Claude Code v1.0.33+ 作为插件宿主,另需 tree 和 ripgrep,语义搜索可选装 qmd。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

Claude Code 插件,通过对话生成属于你的 Markdown 第二大脑知识系统

通过对话描述你的思考和工作方式,自动生成一套完全归你所有的 Markdown 个人知识系统,相当于用 Claude Code 插件搭出专属第二大脑。

核心能力

  • 通过 2-4 轮对话推导出文件夹结构、模板、技能和钩子
  • 生成纯 Markdown 知识库,用 wiki 链接构成可遍历知识图谱
  • 内置 6R 处理流水线:记录、提炼、反思、重织、验证、重思
  • 每个阶段启动独立子代理,用全新上下文避免注意力衰减
  • 四个钩子自动执行 schema 校验、会话捕获和 Git 自动提交

容易踩的坑

setup 约需 20 分钟且消耗大量 token,属于一次性投入;生成钩子和技能后必须再次重启 Claude Code 才会生效;语义搜索需额外全局安装 qmd 并配置 .mcp.json。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

0 个版本

暂无 release 数据(可能没有发版,或尚未同步)。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Ars Contexta

    A second brain for your agent.

    A Claude Code plugin that generates complete knowledge systems from conversation. You describe how you think and work. The engine derives a cognitive architecture -- folder structure, context files, processing pipeline, hooks, navigation maps, and note templates -- tailored to your domain and backed by 249 research claims.

    No templates. No configuration. Just conversation.

    v0.8.0 · Claude Code plugin · MIT


    Installation

    1. Add the marketplace to Claude Code:

      /plugin marketplace add agenticnotetaking/arscontexta
      
    2. Install the plugin:

      /plugin install arscontexta@agenticnotetaking
      
    3. Restart Claude Code, then run:

      /arscontexta:setup
      
    4. Answer 2-4 questions about your domain (~20 minutes -- token-intensive but one-time)

    5. The engine generates your complete knowledge system

    6. Restart Claude Code again to activate generated hooks and skills

    7. Run /arscontexta:help to see everything available


    What It Does

    Most AI tools start every session blank. Ars Contexta changes that by generating a persistent thinking system derived from how you actually work.

    What you get:

    • A vault -- plain markdown files connected by wiki links, forming a traversable knowledge graph. No database, no cloud, no lock-in.
    • A processing pipeline -- skills that extract insights, find connections, update old notes with new context, and verify quality.
    • Automation -- hooks that enforce structure on every write, detect maintenance needs, capture session state, and auto-commit.
    • Navigation -- Maps of Content (MOCs) at hub, domain, and topic levels.
    • Templates -- note templates with _schema blocks as single source of truth.
    • A user manual -- 7 pages of domain-native documentation generated alongside.

    The key differentiator: derivation, not templating. Every choice traces to specific research claims. The engine reasons from principles about what your domain needs and why.


    The Setup Flow

    /arscontexta:setup runs a 6-phase process:

    PhaseWhat Happens
    DetectionDetects Claude Code environment and capabilities
    Understanding2-4 conversation turns where you describe your domain
    DerivationMaps signals to eight configuration dimensions with confidence scoring
    ProposalShows what will be generated and why, in your vocabulary
    GenerationProduces all files: context file, folders, templates, skills, hooks, manual
    ValidationChecks all 15 kernel primitives, runs pipeline smoke test

    The whole process takes about 20 minutes. It's token-intensive because the engine reads research claims, reasons about your domain, and generates substantial output. This is a one-time investment -- after setup, your agent remembers.

    For advanced users: /arscontexta:setup --advanced to configure dimensions directly.


    Three-Space Architecture

    Every generated system separates content into three spaces:

    SpacePurposeGrowth
    self/Agent persistent mind -- identity, methodology, goalsSlow (tens of files)
    notes/Knowledge graph -- the reason the system existsSteady (10-50/week)
    ops/Operational coordination -- queue state, sessionsFluctuating

    Names adapt to your domain (notes/ might become reflections/, claims/, or decisions/), but the separation is invariant.


    Commands

    Plugin-Level (always available)

    CommandWhat It Does
    /arscontexta:setupConversational onboarding -- generates your full system
    /arscontexta:helpContextual guidance and command discovery
    /arscontexta:tutorialInteractive walkthrough (learn by doing)
    /arscontexta:askQuery the research graph for methodology answers
    /arscontexta:healthRun diagnostic checks on your vault
    /arscontexta:recommendGet architecture advice for your use case
    /arscontexta:architectResearch-backed evolution guidance
    /arscontexta:add-domainAdd a new knowledge domain to an existing system
    /arscontexta:reseedRe-derive from first principles when drift accumulates
    /arscontexta:upgradeApply plugin knowledge base updates to your system

    Generated (available after setup)

    CommandWhat It Does
    /reduceExtract insights from sources
    /reflectFind connections, update MOCs
    /reweaveUpdate older notes with new connections
    /verifyCombined quality check: description + schema + health
    /validateSchema compliance checking
    /seedCreate extraction task with duplicate detection
    /ralphQueue-based orchestration with fresh context per phase
    /pipelineEnd-to-end source processing
    /tasksQueue management
    /statsVault metrics
    /graphGraph analysis
    /nextNext-action recommendation
    /learnResearch and grow
    /rememberMine session learnings
    /rethinkChallenge system assumptions
    /refactorStructural improvements

    Processing Pipeline

    The vault implements the 6 Rs, extending Cornell Note-Taking's 5 Rs with a meta-cognitive layer:

    PhaseWhat HappensCommand
    RecordZero-friction capture into inbox/Manual
    ReduceExtract insights with domain-native categories/reduce
    ReflectFind connections, update MOCs/reflect
    ReweaveUpdate older notes with new context/reweave
    VerifyDescription + schema + health checks/verify
    RethinkChallenge system assumptions/rethink

    Fresh Context Per Phase

    Each phase runs in its own context window via subagent spawning. LLM attention degrades as context fills. By spawning a fresh subagent per phase, every phase operates in the "smart zone."

    /ralph 5
      |-- Read queue, find next unblocked task
      |-- Spawn subagent (fresh context)
      |   +-- Runs skill, updates task file, returns handoff
      |-- Parse handoff, capture learnings
      |-- Advance phase in queue
      +-- Repeat for 5 tasks
    

    Hooks

    Four hooks automate quality enforcement:

    HookEventWhat It Does
    Session OrientSessionStartInjects workspace tree, loads identity, surfaces maintenance signals
    Write ValidatePostToolUse (Write)Schema enforcement on every note write
    Auto CommitPostToolUse (Write, async)Git auto-commit, non-blocking
    Session CaptureStopPersists session state to ops/sessions/

    The Research Graph

    The methodology/ directory contains 249 interconnected research claims about tools for thought, knowledge management, and agent-native cognitive architecture. These claims back every configuration decision.

    Synthesizes

    Zettelkasten -- Cornell Note-Taking -- Evergreen Notes -- PARA -- GTD -- Memory Palaces -- Cognitive Science (extended mind, spreading activation, generation effect) -- Network Theory (small-world topology, betweenness centrality) -- Agent Architecture (context windows, session boundaries, multi-agent patterns)

    How Claims Back Decisions

    Every kernel primitive includes cognitive_grounding linking to specific research:

    • MOC hierarchy -- context-switching cost research (Leroy 2009)
    • Description field -- progressive disclosure principles
    • Wiki links -- spreading activation theory

    Query directly: /arscontexta:ask "Why does my system use atomic notes?"


    Semantic Search (optional)

    qmd adds concept matching across vocabularies. Not required -- the system works fully with ripgrep + MOC traversal.

    /setup should perform this configuration automatically when semantic search is active. The commands below are manual fallback/setup verification.

    # Install qmd
    npm install -g @tobilu/qmd
    # or
    bun install -g @tobilu/qmd
    
    cd your-vault/
    qmd init
    qmd collection add . --name <notes_directory_name> --mask "<notes_directory_name>/**/*.md"
    qmd embed
    

    Create or merge .mcp.json in the vault root:

    {
      "mcpServers": {
        "qmd": {
          "command": "qmd",
          "args": ["mcp"],
          "autoapprove": [
            "mcp__qmd__search",
            "mcp__qmd__vector_search",
            "mcp__qmd__deep_search",
            "mcp__qmd__get",
            "mcp__qmd__multi_get",
            "mcp__qmd__status"
          ]
        }
      }
    }
    

    Keep qmd MCP configuration and tool preapproval in .mcp.json.


    Prerequisites

    DependencyRequiredPurpose
    Claude Code v1.0.33+YesPlugin host
    treeYesWorkspace structure injection
    ripgrep (rg)YesYAML queries, schema validation
    qmdOptionalSemantic search

    Project Structure

    arscontexta/
    |-- .claude-plugin/
    |   |-- plugin.json              # Plugin manifest
    |   +-- marketplace.json         # Marketplace listing
    |-- skills/                      # 10 plugin-level commands
    |   |-- setup/                   # Conversational onboarding
    |   |-- help/                    # Contextual guidance
    |   |-- tutorial/                # Interactive walkthrough
    |   |-- ask/                     # Query the research graph
    |   |-- health/                  # Diagnostic checks
    |   |-- recommend/               # Architecture advice
    |   |-- architect/               # Evolution guidance
    |   |-- reseed/                  # Re-derive from first principles
    |   |-- upgrade/                 # Apply knowledge base updates
    |   +-- add-domain/              # Multi-domain extension
    |-- skill-sources/               # 16 generated command templates
    |   |-- reduce/                  # Extract insights
    |   |-- reflect/                 # Find connections
    |   |-- reweave/                 # Backward pass
    |   |-- verify/                  # Combined quality check
    |   +-- ...                      # 12 more processing commands
    |-- agents/
    |   +-- knowledge-guide.md       # Pipeline subagent
    |-- hooks/
    |   |-- hooks.json               # Hook configuration
    |   +-- scripts/                 # Hook implementations
    |-- generators/
    |   |-- claude-md.md             # CLAUDE.md template
    |   +-- features/                # 17 composable feature blocks
    |-- methodology/                 # 249 research claims
    |-- reference/                   # Core reference documents
    |   |-- kernel.yaml              # 15 kernel primitives
    |   |-- three-spaces.md          # Architecture spec
    |   +-- use-case-presets.md      # Pre-validated configs
    |-- platforms/                   # Platform-specific adapters
    |   |-- claude-code/
    |   +-- shared/
    |-- presets/                     # Pre-validated configurations
    |-- scripts/                     # Utility scripts
    +-- README.md
    

    Development

    Clone this repo and add the marketplace to Claude Code:

    /plugin marketplace add ~/path-to-arscontexta
    

    Install the plugin:

    /plugin install arscontexta@agenticnotetaking
    

    Every time you make changes, re-install the plugin:

    /plugin uninstall arscontexta@agenticnotetaking
    /plugin install arscontexta@agenticnotetaking
    

    Key Files for Contributors

    • reference/kernel.yaml -- 15 primitives every system must include
    • generators/features/*.md -- composable feature blocks
    • skill-sources/*/SKILL.md -- generated command templates
    • skills/setup/SKILL.md -- the derivation engine
    • reference/use-case-presets.md -- preset definitions

    Presets

    Three pre-validated configurations for common use cases:

    PresetForWhat You Get
    ResearchAcademic work, literature reviews, synthesisAtomic claims, citation tracking, methodology MOCs
    PersonalLife management, journaling, relationshipsReflective notes, goal tracking, relationship MOCs
    ExperimentalTesting, iteration, rapid prototypingLightweight structure, fast capture, minimal ceremony

    Presets provide starting defaults. The derivation engine adapts from there based on your conversation.


    Roadmap

    FeatureStatus
    Claude Code pluginAvailable
    Marketplace listingAvailable
    Multi-agent processingIn progress

    Philosophy

    The name connects to a tradition. Ars Combinatoria, Ars Memoria, Ars Contexta: the art of context.

    Llull's rotating wheels generated truth through combination. Bruno's memory wheels created millions of image combinations. They were external thinking systems -- tools to think with rather than just store in. The missing piece: they required a human mind to do the traversing. Now LLMs can traverse. The wheels can spin again.

    Built on Tools for Thought for Agents research.


    License

    MIT