capsule-forge
Skill này làm gì
Skill này hướng dẫn xây dựng và sửa các khả năng mới cho agent Unicity AOS, như capsule, skill và plugin. Skill dành cho lập trình viên mở rộng hệ thống agent và muốn chọn đúng loại khối xây dựng.
Khi nào nên dùng
- ✓Khi bạn cần một agent có thêm một khả năng chạy code.
- ✓Khi bạn đang quyết định giữa skill, capsule, harness hay plugin cho một việc.
- ✓Khi một capsule có sẵn cần được hiểu, sửa hoặc mở rộng.
Liên kết skill
https://github.com/unicity-aos/aos-ce/blob/main/capsules/capsule-forge/src/skills/capsule-forge/SKILL.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tôi muốn agent của mình có thể kiểm tra trạng thái máy chủ của chúng tôi. Nên làm nó thành skill hay capsule, và xây dựng giúp tôi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent bắt đầu bằng việc chọn lựa chọn bền vững nhỏ nhất, rồi tải các chương cần thiết của sổ tay xây dựng. Nó bao quát các khả năng, quy tắc truy cập và bước cài đặt khi xây dựng.
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.
Build naturally on Unicity AOS
Unicity AOS is the operating system for agents. Astrid Runtime supplies the sandbox, typed IPC, principal scope, capability enforcement, metering, and audit. Intelligence belongs in user space: instructions, skills, memory, harnesses, capsules, providers, connectors, and their composition.
Forge is the construction workbench. Use it when work needs a new executable ability or when an existing capsule must be understood, repaired, or extended.
Start with the artifact, not the code
Choose the smallest durable answer:
- discover or configure an existing ability;
- remember a fact or standing preference;
- write a Skill for reusable reasoning or procedure;
- improve harness code for context, retrieval, planning, or recovery;
- compose existing typed services;
- build a capsule for new governed executable behavior;
- add an optional worker only when the host supports it and durable independent work makes it useful;
- add a host plugin only for client-native discovery, hooks, commands, or MCP adaptation.
Load the meta-harness Skill when the opportunity arose proactively from real
work or the agent is improving its own user-space world.
Load the manual progressively
Call forge_guide with no topic to list the exhaustive author manual. Then load
only the chapters required by the current decision. A host plugin may vendor
the same chapters under references/<topic>.md; use that offline snapshot when
the Forge tool is unavailable.
| Topic | Load when |
|---|---|
foundations |
choosing an artifact or explaining AOS versus Astrid, capsules, harnesses, and plugins |
workspace |
deciding where source belongs on this machine or in a repository |
capsule |
writing Rust macros, SDK calls, lifecycle hooks, state, or principal-scoped behavior |
manifest |
authoring any Capsule.toml section or packaged asset |
capabilities |
selecting or reviewing host authority and VFS scope |
ipc |
tools, topics, wildcard matching, handlers, fan-out, middleware, layering, or priority |
wit |
imports, exports, typed payloads, providers, or a new contract |
skills |
shipping instructions, progressive references, precedence, or a host plugin |
authority |
deciding whether to draft, install, replace, grant, persist, or activate |
build |
scaffold, check, build, install, test, diagnose, upgrade, remove, or release |
security |
adversarial review, failure behavior, limits, isolation, or evaluation |
meta-harness |
building a proactive self-extension loop from the ground up |
Do not claim the compact Skill is the whole manual. Forge's guide chapters are the authoritative detailed path. Host-plugin references are a distribution snapshot, not mutable runtime state or a machine-specific source location.
Default capsule workflow
- Inspect repository instructions, the current workspace, installed capsules, relevant Skills, and existing WIT/topic contracts.
- Load
foundationsandworkspace; choose the owning repository or an isolated candidate workspace. - Scaffold with
aos capsule new <name> [--path <parent>]orscaffold_capsule. - Load
capsule,manifest, and the exact boundary chapters needed. - Implement one cohesive capability. Validate untrusted data at its edge.
- Use
suggest_capabilitiesas a draft, narrow every scope, then callvalidate_manifestand runaos capsule check. - Run formatting, compile checks, unit/integration tests, and denied-path tests proportional to the extension.
- Build an installable artifact with
aos capsule build. - Load
authority, present the exact authority delta, and install/grant only through authority the user or operator actually supplied. - Exercise it in the real harness, observe traces, and preserve what worked.
Portable source placement
Follow the current repository's established capsule layout. For a standalone
project, aos capsule new writes under the current directory by default and
--path selects a parent.
If an agent proactively creates a candidate and no durable owner can be inferred, use an isolated writable scratch directory or worktree. Build and evaluate there, then ask where it should live before moving, committing, installing, or publishing it when that choice changes user scope.
Never develop inside an installed runtime tree or plugin cache. Never hardcode a particular user's home or repository path.
Authority model
Keep these states dist
Câu hỏi thường gặp
Capsule là gì?
Capsule là một chương trình nhỏ được quản lý, chạy trong sandbox của hệ thống và xử lý một công việc cụ thể.
Tôi có cần viết code không?
Thường là có với capsule. Skill có thể chỉ là các hướng dẫn viết thường.
Sổ tay là gì?
Đó là một tập các chương mà agent tải khi cần, thay vì một hướng dẫn dài duy nhất.
Chi tiết
Mô tả gốc của tác giả
Author and debug Unicity AOS capabilities from zero. Use when choosing between a Skill, harness, capsule, composition, worker, or host plugin; creating or locating capsule source; writing Rust SDK code, Capsule.toml capabilities and IPC ACLs, WIT contracts, shipped Skills, installable artifacts, or Forge workflows; reasoning about priority/layering, installation, grants, consent, or portable activation.
repo: unicity-aos/aos-ce
Độ phổ biến
- Sao GitHub
- 8.5k
- Vị trí xếp hạng
- #12452
- Giấy phép
- Apache-2.0
- Cập nhật
- 22/10/2026
Bình luận
- …
Thêm skill từ kho mã này
meta-harness
8.5kGiúp agent của bạn nhận ra chỗ các công cụ, trí nhớ hoặc hướng dẫn của nó còn thiếu sót trong lúc làm việc thật, rồi cải thiện và giữ phiên bản tốt hơn.
Capsule Development
8.5kGiúp agent của bạn xây dựng, kiểm thử, đóng gói và cài đặt một capsule Unicity AOS, một chương trình nhỏ an toàn, theo định dạng dự án hiện tại.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.