# agent-extension-standards

Adopt this skill: https://proskills.md/skills/other/nklisch-skilltap-agents-skills-agent-extension-standards

Page: https://proskills.md/skills/other/nklisch-skilltap-agents-skills-agent-extension-standards
This document is the public skill bundle for that page. It contains SKILL.md and every helper file the catalog carries. No login is required.

## File: .agents/skills/agent-extension-standards/SKILL.md
size: 2897
upstream: https://github.com/nklisch/skilltap/blob/main/.agents/skills/agent-extension-standards/SKILL.md

```text
---
name: agent-extension-standards
description: Current attested Codex, Claude Code, and Agent Skills extension contracts for skilltap. Use when designing, implementing, reviewing, or documenting harness adapters; plugin or marketplace manifests; native plugin lifecycle; skill directories or SKILL.md frontmatter; AGENTS.md/CLAUDE.md bridges; configuration scopes; compatibility transfer; adoption, reconciliation, status, or update behavior.
---

# Agent Extension Standards

Ground extension work in the current research substrate. Do not reuse remembered
Claude-only marketplace assumptions or flatten the two harnesses into a generic
plugin format.

## Load the applicable contract

Read `.research/analysis/briefs/current-agent-extension-standards.md` before
making an architectural or behavioral decision in this domain.

Load a specialist brief when exact native details matter:

- Codex: `.research/analysis/campaigns/marketplace-standards/specialists/codex.md`
- Claude Code: `.research/analysis/campaigns/marketplace-standards/specialists/claude.md`
- Agent Skills: `.research/analysis/campaigns/marketplace-standards/specialists/agent-skills.md`

Use attestations under `.research/attestation/` for source-direct verification.
Treat specialist briefs and the parent synthesis as analytical guidance, not
primary sources. Never cite `.research/.import-holding/` as evidence.

## Preserve these boundaries

- Treat a skill as its complete directory with top-level `SKILL.md`. Never
  manage only the Markdown file when sibling resources exist.
- Use `.agents/skills/` as skilltap's canonical portable placement when the
  skill is compatible. Create harness-native links or copies through adapters.
- Keep Codex and Claude plugin manifests, catalogs, identities, caches, scopes,
  consent, and update semantics distinct.
- Prefer deterministic native marketplace and plugin operations. Do not mutate
  a native plugin cache as an installation API.
- Keep `~/AGENTS.md` as skilltap's canonical global instruction file and model
  `~/.codex/AGENTS.md` and `~/.claude/CLAUDE.md` as native bridges, including
  their precedence and divergence hazards.
- Separate desired skilltap state, native declared state, and effective
  installed state.
- Classify transfer as faithful, materializable, partial, or blocked. Surface
  material consequences for piecewise operation-scoped approval.
- Register only sources selected by the user. Do not add search, browsing,
  ranking, recommendation, or inventory-discovery behavior.

## Check freshness

The authoritative brief is dated 2026-07-10 and carries explicit revisit
triggers. When a decision depends on a native command, schema, path, or lifecycle
that may have changed, verify the current official primary source. If the
contract moved, refresh the `.research/` attestations and synthesis before
changing foundation docs or implementation.
```

## File: README.md
upstream: https://github.com/nklisch/skilltap/blob/main/README.md

````text
# skilltap

A personal control plane for local agent harnesses.

skilltap manages the marketplaces, plugins, skills, MCP declarations, and instruction files used by your local agent harnesses. It adopts existing configuration, keeps a normalized machine-wide inventory, and reconciles each target through its native lifecycle or documented managed surfaces.

It does not search for skills or recommend plugins. You tell skilltap what you want; skilltap helps install it correctly, keep it updated, and show whether your environment is healthy.

## What It Manages

- A typed registry spanning Codex, Claude Code, Factory Droid, Qwen Code, GitHub Copilot CLI, Antigravity CLI, Junie, Kimi Code CLI, OpenCode, Kilo Code, Mistral Vibe, Kiro CLI, Amp, Pi, Cursor, Zoo Code, and ZCode.
- Native plugin marketplaces.
- Native and materialized plugins.
- Complete standalone skill directories.
- Git-backed skill updates.
- Global and project instructions.
- Cross-harness compatibility.
- Configuration drift and ownership.
- Optional safe automatic updates.

## Native First

skilltap uses native harness commands whenever they exist.

A Claude plugin stays a Claude plugin. A Codex plugin stays a Codex plugin. When the same plugin exists natively for both harnesses, skilltap installs both native distributions.

When no native target exists, skilltap can materialize compatible components
into documented load paths. Support is admitted per component and scope.
Effectively verified changes apply normally; declaration-managed changes require
foreground `--yes` and remain explicitly effective-unverified. Partial or lossy
results are also reported and require explicit approval.

## Agent Forward

skilltap is deterministic and non-interactive.

Human-readable output is concise enough for an agent transcript. Inspection and planning commands also support `--json`. When a user decision is required, output explains the incompatibility and gives the exact next action.

There is no TUI, setup wizard, or separate agent mode.

Read-only `status` works before configuration exists and creates nothing. A
missing `config.toml` means no harness is enabled; skilltap never infers
management policy merely because a registered executable or file surface is present.

For normal human use, ask your agent for the outcome instead of translating it
into flags yourself. For example:

> Use skilltap to check the health of my enabled agent harnesses.

> Use skilltap to sync my global plugins and shared instructions. Show me the
> plan first, and ask before accepting any partial result.

> Use skilltap to install `formatter@example-plugins` in this project and tell
> me which selected targets are verified, declaration-managed, or unsupported.

The agent can learn exact syntax from `skilltap --help`, run read-only status
and planning commands, and convey any required decision before mutation.

## Quick Start

The native plugin is the primary installation path. Add this repository as a
marketplace, then install or enable the plugin in the harness you use:

```bash
# Claude Code
claude plugin marketplace add nklisch/skilltap --scope user
claude plugin install skilltap@skilltap --scope user

# Codex marketplace
codex plugin marketplace add nklisch/skilltap
codex plugin add skilltap@skilltap
```

Let skilltap verify the binary and harness setup:

```bash
skilltap bootstrap
```

Need the standalone binary directly? Use the online installer after the plugin
instructions:

```bash
curl -fsSL https://skilltap.dev/install.sh | sh
```

The plugin path and online installer report binary availability separately
from Claude/Codex harness setup. A missing harness or unsupported native
plugin lifecycle is an explicit next action, not a reason to write a native
cache. Homebrew installs the binary only (`brew install
nklisch/skilltap/skilltap`); run `skilltap bootstrap` afterward when you want
the plugin/skill setup.

Enable the harnesses you want skilltap to manage:

```bash
skilltap harness enable codex
skilltap harness enable claude
```

Adopt their existing global configuration:

```bash
skilltap adopt
```

Establish shared global instructions:

```bash
skilltap instructions setup
```

This uses `~/AGENTS.md` as the canonical global file and creates the required native harness bridges.

Inspect the complete managed computer:

```bash
skilltap status --all-scopes
```

Preview and reconcile desired state:

```bash
skilltap plan --all-scopes
skilltap sync --all-scopes
```

## Marketplaces and Plugins

Register an explicit marketplace:

```bash
skilltap marketplace add example/agent-plugins
```

Install an exact plugin:

```bash
skilltap plugin install formatter@example-plugins
```

Target one harness when needed:

```bash
skilltap plugin install formatter@example-plugins --target claude
```

skilltap lists registered marketplaces and installed plugins. It does not browse or search marketplace catalogs.

## Standalone Skills

A skill is a complete directory with `SKILL.md` at its root:

```text
commit-helper/
├── SKILL.md
├── scripts/
├── references/
└── templates/
```

Install a top-level skill directory:

```bash
skilltap skill install ./commit-helper
```

Install a skill from an explicit repository subdirectory:

```bash
skilltap skill install https://github.com/example/agent-tools \
  --path skills/commit-helper
```

The whole directory is installed and tracked. For Git-backed skills, skilltap records the resolved commit SHA and detects updates when that SHA changes.

## Global and Project Scope

Commands operate globally unless project scope is requested:

```bash
# Global
skilltap plugin install formatter@example-plugins

# Project containing the current directory
skilltap plugin install formatter@example-plugins --project

# Another project
skilltap plugin install formatter@example-plugins --project ~/src/my-app

# Every managed scope
skilltap status --all-scopes
```

`--target` selects harnesses. Scope selects where the resource applies. They can be combined:

```bash
skilltap sync --project --target claude
```

skilltap stores its own state outside repositories. It writes project files only when they are native harness resources or instruction files named in the reconciliation plan.

Internally, every managed resource instance has a logical ID plus one concrete
scope. That exact pair is its `ResourceKey`, so the same plugin or skill can
exist independently in global scope and in multiple projects without
colliding. Component selectors resolve within the scopes selected by the
command and every resulting operation retains the exact scoped key.

## Instructions

Global instructions use:

```text
~/AGENTS.md
```

Native global bridges normally use:

```text
${CODEX_HOME:-$HOME/.codex}/AGENTS.md -> ~/AGENTS.md
~/.claude/CLAUDE.md -> ~/AGENTS.md
```

Project instructions use:

```text
<project>/AGENTS.md
<project>/CLAUDE.md -> AGENTS.md
```

Existing user-authored files are preserved. Conflicting content is reported for review rather than overwritten.

Project-shared Claude declarations remain visible to `status` because they can
affect the effective environment. They are not adoptable into skilltap's
personal project scope; skilltap does not turn a repository's shared
declaration into personal desired state.

## Compatibility

Resources are classified as:

- Native.
- Faithfully equivalent.
- Materializable.
- Partial.
- Unsupported.

Safe native and faithful changes can proceed normally. A partial foreground operation requires `--yes`:

```bash
skilltap plugin install deploy@claude-tools --target codex --yes
```

Optional `--include` and `--exclude` selectors control individual components.

`--yes` acknowledges the exact reported partial or effective-unverified result. It does not claim the harness loaded a declaration and does not override unsupported components or scopes, authentication, trust, local drift, conflicts, or invalid configuration.

Mutation support comes only from capability profiles compiled into s
````
