clare2-corpus-capture

Automates capture of agent interactions for AI-assisted development projects.

5|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/jketreno/clare --skill clare2-corpus-capture
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clare2-corpus-capture
Source: https://github.com/jketreno/clare/tree/main/.codex/skills/clare2-corpus-capture
Command: npx skills add https://github.com/jketreno/clare --skill clare2-corpus-capture

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires CLARE2_CORPUS_ROOT, CLARE2_SESSION_FILE, CLARE2_PROJECT_ID, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the capture of normalized agent interactions for local AI-assisted development, ensuring that AI systems learn from real-world project data.

Core Features & Use Cases

  • Agent Interaction Capture: Collects interactions between AI agents and users, facilitating the learning and improvement of AI models.
  • Project-Specific Corpus: Stores captured sessions in a project-specific corpus for tailored AI training.
  • Agent Support Matrix: Offers support for various AI agents like Claude Code, Codex, and GitHub Copilot, with configuration hooks for each.

Quick Start

Run the following command to capture agent interactions for your project:

./clare/scripts/clare2-capture-event.sh generic interaction

Frequently Asked Questions about clare2-corpus-capture

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I capture AI agent interactions for local AI-assisted development?

Capturing AI agent interactions for AI-assisted development involves running the clare2-capture-event.sh script. This automates saving normalized agent interactions into a project-specific corpus for tailored AI training.

What is automated corpus capture and when do I need it for AI training?

Automated corpus capture is the process of collecting and normalizing interactions between AI agents and users. You need it for AI training when you want AI systems to learn from real-world project data.

Do I need environment variables to configure project-specific corpus capture?

Yes, you need environment variables to configure corpus capture. You must define CLARE2_CORPUS_ROOT, CLARE2_SESSION_FILE, and CLARE2_PROJECT_ID to enable deterministic hooks for session capture.

Does this corpus capture tool support GitHub Copilot and Claude Code?

Yes, this corpus capture tool supports GitHub Copilot and Claude Code. It provides an agent support matrix with configuration hooks for capturing interactions across multiple AI platforms.

What are the limitations of using deterministic hooks for session capture?

The limitations of using deterministic hooks for session capture are not explicitly detailed. The approach requires specific environment variables and supports only configured AI agents within project-specific corpora.