一键导入
arcus-knowledge-repository
Persistent, modular knowledge system that enables Claude to learn, remember, and grow with Arcus Innovation Studios across all sessions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Persistent, modular knowledge system that enables Claude to learn, remember, and grow with Arcus Innovation Studios across all sessions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | Arcus Knowledge Repository |
| description | Persistent, modular knowledge system that enables Claude to learn, remember, and grow with Arcus Innovation Studios across all sessions |
| version | 1.0.0 |
| author | Arcus Innovation Studios |
| created | "2026-01-24T00:00:00.000Z" |
| updated | "2026-01-24T00:00:00.000Z" |
| category | infrastructure |
| complexity | high |
| dependencies | ["Supabase (persistent storage)","CLAUDE.memory.md (session state)","Git (version control)"] |
| outputs | ["Knowledge entries (JSON)","Memory updates (Markdown)","Context injection (automatic)"] |
The Arcus Knowledge Repository transforms Claude from a stateless assistant into a living, learning partner that:
This is the central nervous system for the Arcus Innovation Studios workspace.
┌─────────────────────────────────────────────────────────────────┐
│ ARCUS KNOWLEDGE REPOSITORY │
├─────────────────────────────────────────────────────────────────┤
│ │
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
│ │ SESSION │ │ PERSISTENT │ │ MODULAR │ │
│ │ MEMORY │◄──►│ STORAGE │◄──►│ MODULES │ │
│ │ (memory.md) │ │ (Supabase) │ │ (plugins) │ │
│ └─────────────┘ └─────────────┘ └─────────────┘ │
│ │ │ │ │
│ ▼ ▼ ▼ │
│ ┌─────────────────────────────────────────────────────────────┐
│ │ MEMORY TYPES │
│ ├─────────────┬─────────────┬─────────────┬─────────────┬─────┤
│ │ Episodic │ Semantic │ Procedural │ Working │Graph│
│ │ (events) │ (facts) │ (workflows) │ (context) │(rel)│
│ └─────────────┴─────────────┴─────────────┴─────────────┴─────┘
│ │
│ ┌─────────────────────────────────────────────────────────────┐
│ │ RETRIEVAL LAYER │
│ │ • Semantic search (embeddings) │
│ │ • Pattern matching (templates) │
│ │ • Relationship traversal (graph) │
│ │ • Temporal queries (time-based) │
│ └─────────────────────────────────────────────────────────────┘
│ │
└─────────────────────────────────────────────────────────────────┘
arcus_episodic_memory tablearcus_semantic_memory tablearcus_procedural_memory table + CLAUDE.memory.mdarcus_entities (nodes) + arcus_relationships (edges) tablesWhen Claude learns something new, it should be captured:
LEARN [memory_type] [content] [context]
Auto-capture triggers:
Example captures:
{
"type": "procedural",
"category": "preference",
"content": "User prefers concise responses without emojis",
"confidence": 0.9,
"source": "user_correction",
"timestamp": "2026-01-24T10:30:00Z"
}
When Claude needs context, retrieve relevant knowledge:
RECALL [query] [memory_types] [limit]
Auto-recall triggers:
Example recall:
{
"query": "How does Arcus typically handle client proposals?",
"memory_types": ["procedural", "episodic"],
"results": [
{
"type": "procedural",
"content": "Use 360-proposal-builder skill with executive-grade formatting",
"confidence": 0.95,
"last_used": "2026-01-20"
},
{
"type": "episodic",
"content": "Last proposal for TechCorp used innovation-focused framing, well received",
"relevance": 0.87
}
]
}
Connect entities in the knowledge graph:
RELATE [entity1] [relationship] [entity2] [properties]
Example relationships:
{
"entity1": {"type": "person", "name": "Sarah Chen"},
"relationship": "decision_maker_at",
"entity2": {"type": "organization", "name": "TechCorp"},
"properties": {
"role": "Chief Innovation Officer",
"influence_level": "high",
"communication_style": "direct",
"first_contact": "2025-11-15"
}
}
Periodically synthesize raw captures into higher-level insights:
REFLECT [time_period] [focus_area]
Example reflection:
{
"period": "2026-01",
"insights": [
{
"pattern": "Client proposals with SROI metrics have 40% higher acceptance",
"evidence_count": 5,
"confidence": 0.85,
"recommendation": "Include SROI calculations in all future proposals"
},
{
"pattern": "Eduardo prefers email communication before 2pm São Paulo time",
"evidence_count": 8,
"confidence": 0.92,
"recommendation": "Schedule Eduardo-related tasks for morning"
}
]
}
Knowledge repository is extensible through modules:
modules/
├── client-intelligence/ # Client-specific knowledge
├── project-memory/ # Project histories and patterns
├── team-preferences/ # Individual team member settings
├── industry-knowledge/ # Domain expertise
├── workflow-patterns/ # Successful workflow templates
└── custom/ # User-defined modules
Each module follows a standard interface:
interface KnowledgeModule {
name: string;
version: string;
// What this module captures
captureTypes: string[];
// How to extract knowledge from interactions
extractors: Extractor[];
// How to retrieve relevant knowledge
retrievers: Retriever[];
// How to synthesize insights
reflectors: Reflector[];
// Schema for stored data
schema: JSONSchema;
}
Captures and retrieves client-specific knowledge:
Tracks project histories:
Learns individual team member preferences:
Captures successful workflows:
The CLAUDE.memory.md file serves as session state:
---
last_updated: 2026-01-24T10:30:00Z
session_count: 147
---
# User Preferences
- Response style: Concise, technical
- Emoji usage: Never unless requested
- Code style: TypeScript preferred
- Documentation: Inline comments only when complex
# Active Projects
- AI Agent Planning Dashboard (priority: high)
- Knowledge Repository Setup (priority: high)
- 990-EZ Filing Q4 (priority: medium)
# Recent Learnings
- User prefers modular architecture patterns
- Arcus Innovation Studios is the organization name
- Team includes: Chandler, Eduardo, Felipe
# Pending Actions
- [ ] Complete knowledge repository setup
- [ ] Run skill validation
- [ ] Update README
Core tables:
-- Episodic memory (events and interactions)
CREATE TABLE arcus_episodic_memory (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
event_type TEXT NOT NULL,
content JSONB NOT NULL,
participants TEXT[],
outcome TEXT,
learnings TEXT[],
confidence FLOAT DEFAULT 0.8,
timestamp TIMESTAMPTZ DEFAULT NOW(),
session_id TEXT,
embedding VECTOR(1536)
);
-- Semantic memory (facts and patterns)
CREATE TABLE arcus_semantic_memory (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
category TEXT NOT NULL,
content TEXT NOT NULL,
metadata JSONB,
confidence FLOAT DEFAULT 0.8,
source TEXT,
valid_from TIMESTAMPTZ DEFAULT NOW(),
valid_until TIMESTAMPTZ,
embedding VECTOR(1536)
);
-- Procedural memory (workflows and preferences)
CREATE TABLE arcus_procedural_memory (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
procedure_type TEXT NOT NULL, -- 'workflow' | 'preference' | 'standard'
name TEXT NOT NULL,
content JSONB NOT NULL,
trigger_conditions TEXT[],
success_rate FLOAT,
usage_count INT DEFAULT 0,
last_used TIMESTAMPTZ,
embedding VECTOR(1536)
);
-- Knowledge graph: entities (nodes)
CREATE TABLE arcus_entities (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
entity_type TEXT NOT NULL, -- person, organization, project, concept
name TEXT NOT NULL,
description TEXT,
aliases TEXT[],
attributes JSONB,
embedding VECTOR(1536),
confidence FLOAT DEFAULT 0.8,
first_seen TIMESTAMPTZ DEFAULT NOW(),
last_seen TIMESTAMPTZ DEFAULT NOW()
);
-- Knowledge graph: relationships (edges)
CREATE TABLE arcus_relationships (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
source_entity_id UUID NOT NULL REFERENCES arcus_entities(id),
source_type TEXT NOT NULL,
source_name TEXT NOT NULL,
relationship TEXT NOT NULL, -- works_at, reports_to, owns, etc.
target_entity_id UUID NOT NULL REFERENCES arcus_entities(id),
target_type TEXT NOT NULL,
target_name TEXT NOT NULL,
properties JSONB,
confidence FLOAT DEFAULT 0.8,
first_observed TIMESTAMPTZ DEFAULT NOW(),
last_observed TIMESTAMPTZ DEFAULT NOW()
);
-- Create indexes for fast retrieval
CREATE INDEX idx_episodic_event_type ON arcus_episodic_memory(event_type);
CREATE INDEX idx_episodic_timestamp ON arcus_episodic_memory(timestamp);
CREATE INDEX idx_semantic_category ON arcus_semantic_memory(category);
CREATE INDEX idx_procedural_type ON arcus_procedural_memory(procedure_type);
CREATE INDEX idx_entities_type ON arcus_entities(entity_type);
CREATE INDEX idx_entities_name ON arcus_entities(name);
CREATE INDEX idx_rel_source ON arcus_relationships(source_entity_id);
CREATE INDEX idx_rel_target ON arcus_relationships(target_entity_id);
CREATE INDEX idx_rel_relationship ON arcus_relationships(relationship);
Knowledge capture hooks in .claude/hooks/hooks.json:
{
"PostToolUse": [
"knowledge-repository: Capture successful tool usage patterns",
"knowledge-repository: Extract entities from tool outputs"
],
"SessionStart": [
"knowledge-repository: Load user preferences from CLAUDE.memory.md",
"knowledge-repository: Retrieve recent context from Supabase"
],
"SessionEnd": [
"knowledge-repository: Sync session learnings to persistent storage",
"knowledge-repository: Update CLAUDE.memory.md with new insights"
],
"PreToolUse": [
"knowledge-repository: Inject relevant context for tool"
]
}
Automatically invoke when:
Manually invoke when:
CLAUDE.memory.md for preferences and active contextWhen user asks about knowledge:
CLAUDE.memory.md with new preferencesBefore storing:
If Supabase unavailable:
CLAUDE.memory.md for critical preferencesIf retrieval fails:
When new knowledge conflicts with existing:
User says: "Actually, I prefer TypeScript over Python for new projects"
Claude captures:
{
"type": "procedural",
"procedure_type": "preference",
"name": "language_preference",
"content": {
"preference": "TypeScript",
"over": "Python",
"context": "new projects",
"strength": "prefer"
},
"confidence": 0.95,
"source": "explicit_user_statement"
}
Context: User decides to use LangGraph for their agent framework
Claude captures:
{
"type": "episodic",
"event_type": "decision",
"content": {
"decision": "Use LangGraph as primary agent framework",
"context": "AI Agent Planning Dashboard project",
"rationale": "Team expertise, existing Python stack",
"alternatives_considered": ["CrewAI", "Claude Code native"]
},
"participants": ["Chandler"],
"outcome": "Selected LangGraph",
"confidence": 0.95
}
Extracted from meeting notes:
{
"entity1": {"type": "organization", "name": "TechCorp"},
"relationship": "potential_client",
"entity2": {"type": "organization", "name": "Arcus Innovation Studios"},
"properties": {
"stage": "initial_contact",
"interest_area": "AI strategy",
"key_contact": "Sarah Chen",
"introduced_by": "Board connection"
}
}
User asks: "How did we approach the last innovation assessment?"
Claude retrieves:
{
"query_result": {
"episodic": [
{
"event": "TRL Assessment for BioTech Startup",
"date": "2025-12-15",
"approach": "Used innovation-compass-assessment skill",
"outcome": "Client satisfied, led to follow-on engagement"
}
],
"procedural": [
{
"workflow": "Innovation Assessment Standard",
"steps": [
"Gather technology documentation",
"Run innovation-compass-assessment",
"Generate executive summary",
"Schedule findings review"
]
}
]
}
}
| Operation | Command | When to Use |
|---|---|---|
| LEARN | Capture new knowledge | User correction, new info, decision |
| RECALL | Retrieve relevant knowledge | Entity mentioned, similar situation |
| RELATE | Build relationship graph | New connection discovered |
| REFLECT | Synthesize insights | Periodic review, pattern detection |
schemas/supabase-schema.sql)CLAUDE.memory.md (see config/memory-template.md)config/hooks-config.json)