本文へスキップ
Skillpedia
エージェント8.5k · #12452

capsule-forge

できること

このスキルは、Unicity AOSのエージェント向けに、カプセル、スキル、プラグインといった新しい能力の作成と修正を案内します。エージェントのシステムを拡張し、適切な種類の部品を選びたい開発者向けです。

使う場面

  • ✓コードを実行する新しい能力をエージェントに持たせたいとき。
  • ✓ある作業にスキル、カプセル、ハーネス、プラグインのどれを使うか決めるとき。
  • ✓既存のカプセルを理解し、修正し、または拡張する必要があるとき。

スキルのリンク

https://github.com/unicity-aos/aos-ce/blob/main/capsules/capsule-forge/src/skills/capsule-forge/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/unicity-aos/aos-ce/blob/main/capsules/capsule-forge/src/skills/capsule-forge/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“エージェントがサーバーの状態を確認できるようにしたいです。スキルとカプセルのどちらがよいかを決めて、作ってください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、まず最も小さく持続しやすい選択肢を選びます。そのうえで、ビルドマニュアルのうち必要な章を読み込みます。作成中に、能力、アクセスルール、インストール手順を扱います。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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

  1. Inspect repository instructions, the current workspace, installed capsules, relevant Skills, and existing WIT/topic contracts.
  2. Load foundations and workspace; choose the owning repository or an isolated candidate workspace.
  3. Scaffold with aos capsule new <name> [--path <parent>] or scaffold_capsule.
  4. Load capsule, manifest, and the exact boundary chapters needed.
  5. Implement one cohesive capability. Validate untrusted data at its edge.
  6. Use suggest_capabilities as a draft, narrow every scope, then call validate_manifest and run aos capsule check.
  7. Run formatting, compile checks, unit/integration tests, and denied-path tests proportional to the extension.
  8. Build an installable artifact with aos capsule build.
  9. Load authority, present the exact authority delta, and install/grant only through authority the user or operator actually supplied.
  10. 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

よくある質問

カプセルとは何ですか?

カプセルは、システムのサンドボックス内で動作する、特定の仕事を担う小さな管理されたプログラムです。

コードを書く必要がありますか?

カプセルの場合は、多くの場合そうです。スキルは、平易に書かれた指示だけでもかまいません。

マニュアルとは何ですか?

一つの長いガイドではなく、エージェントが必要に応じて読み込む章の集まりです。

詳細

作者による元の説明

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

人気

GitHubのスター
8.5k
ランキング
#12452
ライセンス
Apache-2.0
更新日
2026/10/22

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル