Chuyển đến nội dung
Skillpedia
Agent280k · #261

agentic-os

Skill này làm gì

Hệ thống này cho phép bạn xây dựng một 'hệ điều hành' cho AI Claude Code. Nó tổ chức AI thành nhiều 'agent' chuyên biệt, như lập trình viên hoặc người viết, và quản lý cách chúng phối hợp với nhau cho các tác vụ phức tạp. Nó cũng cho phép AI nhớ thông tin giữa các cuộc trò chuyện và tự động chạy tác vụ.

Khi nào nên dùng

  • ✓Khi bạn muốn AI nhớ thông tin qua nhiều cuộc trò chuyện khác nhau.
  • ✓Để tổ chức AI thành các nhóm chuyên biệt cho tác vụ phức tạp.
  • ✓Để AI tự động thực hiện các tác vụ lặp lại vào thời điểm đã định.

Liên kết skill

https://github.com/affaan-m/ECC/blob/main/skills/agentic-os/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/affaan-m/ECC/blob/main/skills/agentic-os/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Thiết lập một hệ thống AI trong đó một agent lập trình sửa lỗi và một agent viết tài liệu tạo ra văn bản hướng dẫn.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Hệ thống dùng một tệp chính (gọi là 'kernel') để quyết định agent chuyên biệt nào xử lý từng phần của tác vụ. Mỗi agent có hướng dẫn riêng và quyền truy cập vào 'bộ nhớ' (các tệp) để lưu thông tin và tiến độ.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Agentic OS

Treat Claude Code as a persistent runtime / operating system rather than a chat session. This skill codifies the architecture used by production agentic setups: a kernel config that routes tasks to specialist agents, persistent file-based memory, scheduled automation, and a JSON/markdown data layer.

When to Activate

  • Building a multi-agent workflow inside Claude Code
  • Setting up persistent Claude Code automation that survives session restarts
  • Creating a "personal OS" or "agentic OS" for recurring tasks
  • User says "agentic OS", "personal OS", "multi-agent", "agent coordinator", "persistent agent"
  • Structuring long-running projects where context must survive across sessions

Architecture Overview

The Agentic OS has four layers. Each layer is a directory in your project root.

project-root/
├── CLAUDE.md          # Kernel: identity, routing rules, agent registry
├── agents/            # Specialist agent definitions (markdown prompts)
├── .claude/commands/  # Slash commands: user-facing CLI
├── scripts/           # Daemon scripts: scheduled or event-driven tasks
└── data/              # State: JSON/markdown filesystem, no external DB

Layer Responsibilities

Layer Purpose Persistence
Kernel (CLAUDE.md) Identity, routing, model policies, agent registry Git-tracked
Agents (agents/) Specialist identities with scoped tools and memory Git-tracked
Commands (.claude/commands/) User-facing slash commands (/daily-sync, /outreach) Git-tracked
Scripts (scripts/) Python/JS daemons triggered by cron or webhooks Git-tracked
State (data/) Append-only logs, project state, decision records Git-ignored or tracked

The Kernel

CLAUDE.md is the kernel. It acts as the COO / orchestrator. Claude reads it at session start and uses it to route work.

Kernel Structure

# CLAUDE.md - Agentic OS Kernel

## Identity
You are the COO of [project-name]. You route tasks to specialist agents.
You never write code directly. You delegate to the right agent and synthesize results.

## Agent Registry

| Agent | Role | Trigger |
|---|---|---|
| @dev | Code, architecture, debugging | User says "build", "fix", "refactor" |
| @writer | Documentation, content, emails | User says "write", "draft", "blog" |
| @researcher | Research, analysis, fact-checking | User says "research", "analyze", "compare" |
| @ops | DevOps, deployment, infrastructure | User says "deploy", "CI", "server" |

## Routing Rules
1. Parse the user request for intent keywords
2. Match to the Agent Registry trigger column
3. Load the corresponding agent file from `agents/<name>.md`
4. Hand off execution with full context
5. Synthesize and present the result back to the user

## Model Policies
- Default model: use the repository or harness default.
- @dev tasks: prefer a higher-reasoning model for complex architecture.
- @researcher tasks: use the configured research-capable model and approved search tools.
- Cost ceiling: warn before exceeding the project's configured spend threshold.

Key Principle

The kernel should be small and declarative. Routing logic lives in plain markdown tables, not code. This makes the system inspectable and editable without debugging.

Specialist Agents

Each agent is a standalone markdown file in agents/. Claude loads the relevant agent file when routing a task.

Agent Definition Format

# @dev - Software Engineer

## Identity
You are a senior software engineer. You write clean, tested, production-grade code.
You prefer simple solutions. You ask clarifying questions when requirements are ambiguous.

## Memory Scope
- Read `data/projects/<current-project>.md` for context
- Read `data/decisions/` for architectural decisions
- Append execution logs to `data/logs/<date>-@dev.md`

## Tool Access
- Full filesystem access within project root
- Git operations (status, diff, commit, branch)
- Test runner access
- MCP servers as configured in `.claude/mcp.json`

## Constraints
- Always write tests for new features
- Never commit directly to `main`; use feature branches
- Prefer editing existing files over creating new ones
- Keep functions under 50 lines when possible

Multi-Agent Collaboration Pattern

When a task spans multiple agents, the kernel runs them sequentially or in parallel:

User: "Build a landing page and write the launch blog post"

Kernel routing:

…
Câu hỏi thường gặp

'Agent' là gì?

Agent giống như một chuyên gia trong AI. Ví dụ, một agent giỏi viết code, một agent viết văn bản, và một agent khác làm nghiên cứu.

'Persistent' nghĩa là gì?

Nghĩa là AI có thể nhớ thông tin và tiếp tục công việc ngay cả sau khi bạn đóng và mở lại cuộc trò chuyện, giống như một hệ điều hành thông thường.

AI 'nhớ' mọi thứ bằng cách nào?

Nó dùng các tệp trên máy tính của bạn để lưu thông tin quan trọng, như tiến độ dự án hay các quyết định đã đưa ra, thay vì chỉ dựa vào bộ nhớ của cuộc trò chuyện hiện tại.

Chi tiết

Mô tả gốc của tác giả

Build persistent multi-agent operating systems on Claude Code. Covers kernel architecture, specialist agents, slash commands, file-based memory, scheduled automation, and state management without external databases. Use when building a persistent multi-agent system on Claude Code with its own memory, commands, and scheduling.

repo: affaan-m/ECC

Độ phổ biến

Sao GitHub
280k
Vị trí xếp hạng
#261
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự