Skip to content
Back to skills

2513 00 Overview 6550b0a9

ASecurity

Five-pillar framework: persistent memory, expert agents, on-demand skills, ephemeral task storage, battle-tested workflows. ---

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
ai-agentsrustsqltestinggitapidatabasesecurityperformancedocumentation

Works with

  • claude code
  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 2513-00-overview_6550b0a9 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 2513 00 Overview 6550b0a9?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 2513 00 Overview 6550b0a9
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-2513-00-overview-6550b0a9/badge)](https://www.skillsdirectory.com/skills/tools-only-2513-00-overview-6550b0a9)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# Claude Copilot Architecture

Five-pillar framework: persistent memory, expert agents, on-demand skills, ephemeral task storage, battle-tested workflows.

---

## System Overview

| Layer | Pillar | Component | Purpose |
|-------|--------|-----------|---------|
| Persistence | 1 | Memory Copilot | Cross-session context, decisions, lessons |
| Expertise | 2 | 14 Lean Agents | Minimal agents (under 120 lines) with on-demand skills |
| Knowledge | 3 | Skills Copilot | Auto-detected skill loading via skill_evaluate |
| Tasks | 4 | Task Copilot | Ephemeral PRD, task, work product storage |
| Workflow | 5 | Protocol | /protocol and /continue commands |

### Data Flow

```
User Request → Protocol → Lean Agent → skill_evaluate() → Load Skills → Execute → Store Work Product → Memory Update
```

**Lean Agent Pattern:**
- Agent files are under 120 lines (workflow, routing, core behaviors)
- Shared boilerplate extracted to "Agent Shared Behaviors" in CLAUDE.md
- Domain expertise lives in skill files (200-500 lines each)
- `skill_evaluate()` matches skills based on file patterns and keywords
- Skills loaded on-demand via `@include` directive
- ~70% token reduction vs. monolithic agents

---

## Core Workflows

| Command | Flow | Result |
|---------|------|--------|
| `/protocol` | Classify request → Route to agent → Understand → Present findings → Get approval → Execute → Save to memory | Fresh work with agent-first approach |
| `/continue` | Load initiative → Present context → Resume work | Continue with full history |

---

## Agent Routing

### Understanding Phase

| Request Type | First Agent | Routes To | Finally |
|--------------|-------------|-----------|---------|
| Bug/Defect | qa | me (fix) | qa (verify) |
| Experience | sd + uxd | uids | uid |
| Technical | ta | sec (if security) | me |
| Architecture | ta | sec + do | me |

### Cross-Cutting Concerns

| Concern | Routes To |
|---------|-----------|
| Security implications | sec |
| Documentation needed | doc |
| Testing required | qa |
| Deployment concerns | do |

---

## Storage

### Memory Copilot (SQLite per project)

| Table | Key Fields |
|-------|------------|
| initiatives | title, status, completed[], inProgress[], decisions[], lessons[], keyFiles[], resumeInstructions |
| memories | type, content, tags[], embedding (semantic search) |
| sessions | initiative_id, started_at, summary |

Location: `~/.claude/memory/{workspace-id}/memory.db`

### Skills Copilot (Priority Order)

| Source | Location | Purpose |
|--------|----------|---------|
| Local | `./.claude/skills/` | Project-specific |
| Cache | SQLite (7-day TTL) | Fast repeat access |
| Private DB | PostgreSQL | Organization skills |
| SkillsMP | API | 25,000+ public skills |

---

## Extension System

| Behavior | Effect |
|----------|--------|
| `override` | Replaces base agent |
| `extension` | Adds to base agent |
| `skills` | Injects additional skills |

Detected via `knowledge-manifest.json` in project or `docs/shared/`.

---

## Performance

| Component | Strategy | Token Savings |
|-----------|----------|---------------|
| Memory | Semantic search, relevant context only | ~80% |
| Skills | Auto-detected on-demand loading | ~95% |
| Lean Agents | Minimal definitions + shared behaviors + external skills | ~70% |
| Protocol | Two simple commands | ~90% |
| Task Copilot | Work products stored externally | ~96% |

---

## Security

| Concern | Approach |
|---------|----------|
| Data isolation | Per-project SQLite databases |
| Secrets | Never stored in memory/skills |
| Trust levels | Local > Private DB > Cache > API |
| Enforcement | sec agent reviews security concerns |

---

## Failure Modes

| Component Fails | Behavior | Impact |
|-----------------|----------|--------|
| Memory Copilot | New initiative, no history | Loss of context |
| Skills (all sources) | Agents work without skills | Less optimal |
| Skills (one source) | Falls back to next priority | Transparent |
| Specific Agent | Routes to alternative | Less specialized |

---

## System Boundaries

| Included | External |
|----------|----------|
| Memory persistence | Claude Code CLI |
| 14 lean agents with skill_evaluate | MCP SDK |
| Skills loading (auto-detection) | Git, project files |
| Task storage | SkillsMP API, PostgreSQL |
| Protocol commands | |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.