capsule-forge
Screenshots
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "capsule-forge" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-f323f597c02a98a98a2c52b5e447b1e3c9a58a2015b70efe3246c03ad6bc8342. Verify the upstream source and version against https://github.com/unicity-aos/aos-ce before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
For developing and debugging Unicity AOS features from scratch. Applicable to choosing between Skill, harness, capsule, composition, worker, or host plugin; creating or locating capsule source; writing Rust SDK code, Capsule.toml feature configuration, and IPC ACL; defining WIT contracts; developing publishable Skills, installable artifacts, or Forge workflows; and reasoning about priority/layering, installation, authorization, user consent, or portable activation.
Introduction source: third_party · unicity-aos · 0.0.1 Reference
SkillPi interpretation
- Tasks
- 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.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: capsule-forge
description: 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.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 distinct:
idea -> source candidate -> compiled artifact -> installed capsule
-> principal grant -> per-action consent -> observed result
If the user asked for implementation, reversible source edits and compilation inside the authorized workspace are normal work. Proactive agent judgment can also create an isolated candidate when consistent with the user's standing instructions.
Generated code does not self-promote. Installation, replacement, persistent principal grants, broader capability/ACL changes, external effects, publishing, and memory changes still require the authority supplied by the user, AOS, and operator policy.
Before activation, name the actual capability paths/domains/binaries/endpoints, publish and subscribe topics, imports/exports, install hooks, secrets, host processes, persistence, uplink, identity, prompt-injection changes, and any separate host-plugin or user-space Skill changes.
Non-negotiable capsule boundaries
- Target
wasm32-unknown-unknown, not WASI. - Use
astrid-sdk; host effects cross auditedastrid:*WIT boundaries. - Treat
[publish]and[subscribe]keys as enforced ACLs. - Read caller identity from kernel-stamped context, never a payload claim.
- Keep environment, home paths, secrets, and state principal-scoped; do not cache them globally.
- Build
.capsulearchives withaos capsule build; raw WASM is not installable. - Keep Skills out of Capsule.toml. Distribute trigger instructions through the host plugin or an agent-level Skills service; expose capsule-owned detailed guidance over IPC when appropriate.
- Use
Deny, not an ordinary error, when ordered policy middleware must stop a request. - Keep public WIT changes in the canonical contract/RFC workflow.
Layering warning
Priority is not just sort order. Equal-priority matching handlers use
independent concurrent fan-out. If any priorities differ, all matches become an
ordered middleware chain. In that chain lower priorities run first,
Continue can transform the next payload, Final and Deny stop, and ordinary
errors continue. Load ipc before setting any priority.
Tools
forge_quickstart: smallest compiling tool-capsule path.forge_guide: exhaustive, progressively loaded author chapters.meta_harness_quickstart: compact proactive world-extension loop.scaffold_capsule: complete starter files as a path/content map.explain_interface: inspect installed WIT by filename or declared interface.suggest_capabilities: candidate manifest scopes from an intent.validate_manifest: lint common manifest and tool-bus errors.capsule_doctor: diagnose installed wiring and unsatisfied imports.
Use the tools to inspect and construct. Use tests and AOS authority to decide whether the result is correct and may become active.
Version history
-
2026.10.1
GitHub ↗
Original release notes
Unicity AOS Community Edition 2026.10.1. This product release bundles Astrid Runtime v2026.10.1. The exact runtime release identity, WIT commit, and compatibility pins are published in `runtime-compatibility.toml` and in every archive's `release-manifest.json`. The release also contains the 22 signed, installable capsule artifacts selected by Community Edition. Published `astrid-capsule-*` identities remain unchanged. Install this exact release: ```sh curl --proto '=https' --tlsv1.2 -fsSL https://aos.unicity.ai/install.sh | sh -s -- --version 2026.10.1 ``` Moving channel installs change only after a separate protected promotion. ### Fixed - Run approved shell commands with Bash when available and POSIX `sh` on minimal hosts without Bash, including Alpine. Foreground and background commands keep their existing approval and sandbox boundaries. - After installing on Linux, run the packaged runtime's host setup check and report missing native prerequisites as an installation failure with recovery instructions. Keep the installed package available for repair and retry. - Bundle Astrid 2026.10.1 with its native runtime-media isolation, Linux multi-user startup, host setup, workspace rename and Apple Node repairs.
-
2026.10.0
GitHub ↗
Original release notes
Unicity AOS Community Edition 2026.10.0. This product release bundles Astrid Runtime v2026.10.0. The exact runtime release identity, WIT commit, and compatibility pins are published in `runtime-compatibility.toml` and in every archive's `release-manifest.json`. The release also contains the 22 signed, installable capsule artifacts selected by Community Edition. Published `astrid-capsule-*` identities remain unchanged. Install this exact release: ```sh curl --proto '=https' --tlsv1.2 -fsSL https://aos.unicity.ai/install.sh | sh -s -- --version 2026.10.0 ``` Moving channel installs change only after a separate protected promotion. ### Added - Add a shared software-update inventory to Command Center and `aos console`, with signed-channel checks, explicit candidate-bound AOS/Oracle installation, per-item failures, and honest activation status. Principal-scoped capsule discovery keeps distribution-managed capsules out of independent updates. - Expand the canonical Oracle event and policy-routing surface so host adapters can forward native client events through the same AOS hook adapter. Client recognition and protocol translation remain in Oracles, not AOS or Astrid. ### Changed - Treat Finder/FSKit mounting as optional on Darwin. Product install no longer fails closed when the host is older than the bundled `AstridFS.app` `LSMinimumSystemVersion` (currently 26.0); native volume mounts still require that minimum and extension approval. - Skip copying `AOS Command Center.app` into `~/Applications` when the host is older than the tray bundle `LSMinimumSystemVersion` (currently 13.0). The CLI still installs; the app remains in the release `share/` directory. ### Fixed - Reapply or recover the bundled distro after a product/runtime upgrade by verifying the retained signed distro and checking the prior receipt under the same signing key and principal; failed applies preserve the prior receipt. Distro Apply requires the selected packaged runtime and refuses foreign runtime overrides before dispatch. - Both AOS version commands identify the product and bundled Astrid runtime. Automatic update checks follow the installed release train and never advertise an older stable release as an upgrade. - Reuse authenticated installer downloads and intact installations, repair missing or mode-damaged managed files, and report progress on slow transfers. Retain the verified Sigstore tool across authenticated installer handoffs. - Recover a crashed console's identity-linked approval socket under an exclusive owner lock, without replacing live consoles or unattributed sockets. - Reclaim an interrupted installer's same-version release staging and backup directories after a successful retry, preserving live owners and backups that have not been superseded. - Wait for the native hook adapter to become ready after a cold runtime start before routing the first host hook. - Return authenticated nested provider failures promptly, including tool calls resumed after approval, and allow healthy calls to continue on the same connection. Older runtimes retain bounded timeout compatibility. - Select the product runtime workspace consistently when starting or attaching from different project directories, without changing relative file arguments or the agent's MCP project context. Requires the corresponding Astrid daemon workspace selector in the bundled runtime. - Preserve authenticated policy decisions across the Oracle relay instead of treating context text as a blocking decision. - Batch fast provider text while preserving ordered delivery and reject stale turn replies after cancellation or replacement. - Select the product workspace for principal discovery instead of accidentally inspecting the caller's unrelated project layout. - Keep cold MCP tool discovery open through its bounded collection deadline, including providers delayed behind other capsule calls. Warm cached discovery stays immediate; receive failures are reported instead of called complete. - Grant the default CE fleet during the first `astrid init` instead of spawning a second runtime CLI after capsules are installed. - Do not mistake regular Finder `.DS_Store` metadata for unfinished runtime shutdown; genuine leftover state and redirected entries still block confirmation. - Support Apple-ID app-specific-password notarization for Command Center release signing; retain API-key and keychain-profile support in the helper.
-
2026.9.3
GitHub ↗
Original release notes
Unicity AOS Community Edition 2026.9.3. This product release bundles Astrid Runtime v2026.9.4. The exact runtime release identity, WIT commit, and compatibility pins are published in `runtime-compatibility.toml` and in every archive's `release-manifest.json`. The release also contains the 22 signed, installable capsule artifacts selected by Community Edition. Published `astrid-capsule-*` identities remain unchanged. Install this exact release: ```sh curl --proto '=https' --tlsv1.2 -fsSL https://aos.unicity.ai/install.sh | sh -s -- --version 2026.9.3 ``` Moving channel installs change only after a separate protected promotion. ### Added - Add `aos console` on Unix: a keyboard/mouse Command Center for permission decisions and masked private input. Connected console approvals return prompt pending MCP results with directions to the correct local or remote AOS home; a read-only status tool retrieves the original result without replaying work. - Add a developer-preview macOS AOS menu-bar app with permission dialogs, typed private-input forms, runtime overview, searchable capsule inventory and owned-principal selection. Explicit local setup pairs a dedicated responder; disconnection and cancellation never approve. - Package Darwin `share/AOS Command Center.app` from `AOS_COMMAND_CENTER_APP` and copy it unchanged into both the immutable release directory and the current user's Applications directory when present. The installer opens the stable app, it registers as a login item, and `aos start`/`restart` plus Oracle-facing `aos mcp serve` sessions reopen it so native approval and input requests have a visible presenter. Archives without the member still install. Developer preview builds are not packaged GO. - Intercept modern MCP `input_required` results in `aos mcp serve` native, auto (when the client lacks forms), and deny modes. The original `tools/call` is resumed to the runtime with echoed `requestState`; incomplete results stay off the host stream. - Optional `aos mcp serve --interaction-socket PATH` for native tray presentation over a same-user Unix socket. Requires `--interaction native` and does not fall back to AppKit or the MCP host. The tray prompt deadline defaults to 120 seconds via `--interaction-timeout` and is distinct from `--request-timeout`, which is forwarded to the runtime. - Bound native MRTR tracking with `--max-in-flight-calls` (default 32) and `--max-input-rounds` (default 8). Excess unique calls fail closed without dropping already-tracked requests. Exhausted input rounds complete the tracked call, return a JSON-RPC internal error to the host, and cancel the runtime request. ### Fixed - Repair permissions in existing legacy `runtime/secrets`, `runtime/home`, and `runtime/cow` trees during upgrade so pre-2026.9 homes satisfy Astrid's owner-only private-root contract without creating or following unsafe entries. - No-args AOS Tray launch binds the current user's `~/.aos/bin/aos` and `~/.aos`, or a valid absolute `AOS_HOME`, instead of leaving Finder launches unable to inventory or set up native input. `PATH` search, app-adjacent binaries, and silent pairing remain out of scope. - Failed native-input setup now removes only files this attempt created and refuses preexisting device-key sidecars instead of deleting them. A successful pairing redeem is not rolled back in the daemon. - Native-input setup canonicalizes macOS `/tmp` home aliases before pairing and binds setup receipts to the requested principal and expected connection path. - Bind MCP tool results to the kernel-stamped identity selected during tool discovery as well as the call ID, including calls resumed after approval. - Preserve partial MCP frames when bidirectional reads are interrupted, rather than discarding the already-read prefix before the next read. - Return locally handled MCP approval replies to the requesting runtime, rather than emitting them to the agent host and leaving the runtime waiting. - Fail `aos mcp serve` closed when a native-tracked `tools/call` reuses an in-flight JSON-RPC id or is malformed, instead of forwarding it and resuming the original call.
-
2026.9.2
GitHub ↗
Original release notes
Unicity AOS Community Edition 2026.9.2. This product release bundles Astrid Runtime v2026.9.2. The exact runtime release identity, WIT commit, and compatibility pins are published in `runtime-compatibility.toml` and in every archive's `release-manifest.json`. The release also contains the 22 signed, installable capsule artifacts selected by Community Edition. Published `astrid-capsule-*` identities remain unchanged. Install this exact release: ```sh curl --proto '=https' --tlsv1.2 -fsSL https://aos.unicity.ai/install.sh | sh -s -- --version 2026.9.2 ``` Moving channel installs change only after a separate protected promotion. ### Changed - Bundle Astrid 2026.9.2, adding optional authenticated MCP Streamable HTTP transport and honoring the selected workspace configuration for that transport. Existing stdio host integration and Community capsule selection are unchanged. - Update the exact runtime and client-library pins while retaining GNU, musl, and macOS filesystem providers and authenticated runtime metadata.
-
2026.9.1
GitHub ↗
Original release notes
Unicity AOS Community Edition 2026.9.1. This product release bundles Astrid Runtime v2026.9.1. The exact runtime release identity, WIT commit, and compatibility pins are published in `runtime-compatibility.toml` and in every archive's `release-manifest.json`. The release also contains the 22 signed, installable capsule artifacts selected by Community Edition. Published `astrid-capsule-*` identities remain unchanged. Install this exact release: ```sh curl --proto '=https' --tlsv1.2 -fsSL https://aos.unicity.ai/install.sh | sh -s -- --version 2026.9.1 ``` Moving channel installs change only after a separate protected promotion. ### Changed - Bundle Astrid 2026.9.1 for initialization, resumed grants, durable capsule preservation across shutdown, clean daemon retirement, and native capsule subprocess input fixes. GNU, musl, and Darwin keep their filesystem providers. ### Fixed - Allow Community and Oracle host setup without an OpenAI API key. Provider credentials can be configured when needed; host MCP tools do not require them. - Read principal-scoped loaded capsule metadata for system inspection instead of an obsolete private capsule directory. Shared executable hashes remain references; missing metadata is reported instead of silently omitted.
Only the five most recent versions are shown. View full version history at the source ↗
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 面向 Unicity AOS 开发者提供从零构建 capsule 的完整工作流指导
- 涵盖架构选型、源码组织、Rust SDK、WIT 合约、权限模型等深度内容
- 具有明确的垂直领域实用价值
Highlights
- 触发词精准覆盖多种技术场景(capsule/composition/WIT/IPC 等)
- 边界清晰,无歧义或重叠风险
Highlights
- 十步工作流结构清晰,含出口条件和端到端示例
- frontmatter 完整,文档组织良好
Highlights
- 工具来源明确,参数正确
- 覆盖权限模型、分层警告等关键异常场景
- 不可逆操作有用户授权确认机制
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.