Airsc miễn phí cho tất cả. Nếu nó giúp bạn, hãy ủng hộ $2–$20.

Ủng hộ
PluginCẩn thậnQuy trình & bộ nhớ agentCần cài đặt chút

Continuous-Claude-v3

parcadei · parcadei/Continuous-Claude-v3

Plugin này biến Claude Code thành một tác nhân học hỏi liên tục bằng cách quản lý ngữ cảnh, điều phối các tác nhân phụ và duy trì bộ nhớ qua các phiên để ngăn chặn lãng phí token và mất ngữ cảnh.

Quản lý Context cho Claude Code. Hooks duy trì trạng thái thông qua ledgers và handoffs. Thực thi MCP mà không làm ô nhiễm context. Điều phối agent với các cửa sổ context bị cô lập.

3.9k sao303Giấy phép: MITCập nhật 9 tháng trước0 lượt mở

Xem trước

▍

Bạn có thể làm gì với nó

  • Duy trì ngữ cảnh và bộ nhớ cho Claude Code qua các phiên phát triển kéo dài.
  • Điều phối các tác nhân phụ chuyên biệt cho các tác vụ phức tạp, nhiều bước.
  • Ngăn chặn ô nhiễm ngữ cảnh và lãng phí token trong quá trình thực thi MCP trong Claude Code.

Kiểm tra an toàn

Cẩn thận

Dùng được, nhưng nên đọc ghi chú trước.

  • ●Trình cài đặt tải script từ xa và chạy thẳng bằng shell.README.md

Quét tự động các file trong repo. Luôn xem lại code trước khi chạy.

Trích từ README

Continuous Claude

A persistent, learning, multi-agent development environment built on Claude Code

Continuous Claude transforms Claude Code into a continuously learning system that maintains context across sessions, orchestrates specialized agents, and eliminates wasting tokens through intelligent code analysis.

Table of Contents


Why Continuous Claude?

Claude Code has a compaction problem: when context fills up, the system compacts your conversation, losing nuanced understanding and decisions made during the session.

Continuous Claude solves this with:

ProblemSolution
Context loss on compactionYAML handoffs - more token-efficient transfer
Starting fresh each sessionMemory system recalls + daemon auto-extracts learnings
Reading entire files burns tokens5-layer code analysis + semantic index
Complex tasks need coordinationMeta-skills orchestrate agent workflows
Repeating workflows manually109 skills with natural language triggers

The mantra: Compound, don't compact. Extract learnings automatically, then start fresh with full context.

Why "Continuous"? Why "Compounding"?

The name is a pun. Continuous because Claude maintains state across sessions. Compounding because each session makes the system smarter—learnings accumulate like compound interest.


Design Principles

An agent is five things: Prompt + Tools + Context + Memory + Model.

ComponentWhat We Optimize
PromptSkills inject relevant context; hooks add system reminders
ToolsTLDR reduces tokens; agents parallelize work
ContextNot just what Claude knows, but how it's provided
MemoryDaemon extracts learnings; recall surfaces them
ModelBecomes swappable when the other four are solid

Anti-Complexity

We resist plugin sprawl. Every MCP, subscription, and tool you add promises improvement but risks breaking context, tools, or prompts through clashes.

Our approach:

  • Time, not money — No required paid services. Perplexity and NIA are optional, high-value-per-token.
  • Learn, don't accumulate — A system that learns handles edge cases better than one that collects plugins.
  • Shift-left validation — Hooks run pyright/ruff after edits, catching errors before tests.

The failure modes of complex systems are structurally invisible until they happen. A learning, context-efficient system doesn't prevent all failures—but it recovers and improves.


How to Talk to Claude

You don't need to memorize slash commands. Just describe what you want naturally.

The Skill Activation System

When you send a message, a hook injects context that tells Claude which skills and agents are relevant. Claude infers from a rule-based system and decides which tools to use.

> "Fix the login bug in auth.py"

🎯 SKILL ACTIVATION CHECK
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚠️ CRITICAL SKILLS (REQUIRED):
  → create_handoff

📚 RECOMMENDED SKILLS:
  → fix
  → debug

🤖 RECOMMENDED AGENTS (token-efficient):
  → debug-agent
  → scout

ACTION: Use Skill tool BEFORE responding
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Priority Levels

LevelMeaning
⚠️ CRITICALMust use (e.g., handoffs before ending session)
📚 RECOMMENDEDShould use (e.g., workflow skills)
💡 SUGGESTEDConsider using (e.g., optimization tools)
📌 OPTIONALNice to have (e.g., documentation helpers)

Natural Language Examples

What You SayWhat Activates
"Fix the broken login"/fix workflow → debug-agent, scout
"Build a user dashboard"/build workflow → plan-agent, kraken
"I want to understand this codebase"/explore + scout agent
"What could go wrong with this plan?"/premortem
"Help me figure out what I need"/discovery-interview
"Done for today"create_handoff (critical)
"Resume where we left off"resume_handoff
"Research auth patterns"oracle agent + perplexity
"Find all usages of this API"scout agent + ast-grep

Why This Approach?

BenefitHow
More DiscoverableDon't need to know commands exist
Context-AwareSystem knows when you're 90% through context
Reduces Cognitive LoadDescribe intent naturally, get curated suggestions
Power User FriendlyStill supports /fix, /build, etc. directly

Skill vs Workflow vs Agent

TypePurposeExample
SkillSingle-purpose toolcommit, tldr-code, qlty-check
WorkflowMulti-step process/fix (sleuth → premortem → kraken → commit)
AgentSpecialized sub-sessionscout (exploration), oracle (research)

See detailed skill activation docs →


Quick Start

Prerequisites

  • Python 3.11+
  • uv package manager
  • Docker (for PostgreSQL)
  • Claude Code CLI

Installation

# Clone
git clone https://github.com/parcadei/Continuous-Claude-v3.git
cd Continuous-Claude-v3/opc

# Run setup wizard (12 steps)
uv run python -m scripts.setup.wizard

Note:

Xem mã nguồn trên GitHub