Skip to main content

A CLI for managing AI agent skills across harnesses

Project description

Agent Skill Bridge

Agent Skill Bridge is a CLI for managing AI agent skills across different harnesses such as Codex, Claude Code, Crush, and DeepAgents.

It keeps a shared skill store, copies or links skills into harness-level global and project-level skill folders, tracks project usage, and can sync skills between harnesses.

Features:

  • skill list/remove
  • skill link/copy
  • skill sync
  • harness config management
  • shell completion

The manager files are stored under:

os.getenv("XDG_CONFIG_HOME", "~/.config") + "/" + "agents"

The shared skill store is:

os.getenv("XDG_CONFIG_HOME", "~/.config") + "/agents/skills"

A harness is an agent tool that consumes skills, such as Codex or Claude Code. Global and project storage are the harness's own global-level and project-level configuration paths.

Agent Skill Bridge maintains the skills folder and a usage file for tracking:

os.getenv("XDG_CONFIG_HOME", "~/.config") + "/" + "agents" + "/asb-usage.json"

Usage tracking (the must exist in the mapper):

<harness>: {
    "projects": {
        <proj>: {
            <skill>: <mode>
        }
    },
    "globals": {
        <harness>: {
            <skill>: <mode>
        }
    }
}

Install

uv sync --python 3.10 --link-mode copy

The package name is agent-skill-bridge. Run the CLI with asb:

uv run --python 3.10 asb --help

The long command agent-skill-bridge is also available.

List

Show skills of the current project.

By default, list detects harnesses used by the current project. A harness is considered used when its project prefix exists in the current project; the skills folder does not need to exist yet. It then shows both project and global levels for those harnesses. Be quiet if there is nothing to show.

asb list [<harness>] [--global | --project]
  • -g/--global: global only (any folder)
  • -p/--project: project only
  • By default, we list project level and global level with level title
  • list -g shows global skills for the detected project harnesses and the default global skills

Example:

Project:
- <skill-name>
...

Global (<harness>):
- <skill-name>

Remove

asb remove [<harness>] [<skill-name | skill-folder>...] [--global] [--link] [--all]

For

  • -g/--global: global only
  • -l/--link: remove the symlink and its linked shared-store skill
  • -a/--all: requires a skill name, removes it from the default global store and from project paths recorded in usage
  • By default, we just remove the skill from current project
  • no harness: open a terminal UI picker for harness first, then skills
  • skill picker controls: Arrow moves, Space selects, Enter confirms
  • first positional argument: harness name

For (absolute path or relative path)

  • For global skill, remove from the default global store and recorded usage
  • For project skill, remove from the detected project harness path

For unknown name/folder, just show error message

Link/Copy

asb copy [<harness>] [<skill-names>...] [-p | -g]
asb link [<harness>] [<skill-names>...] [-p | -g]

Copy/Link skill from the shared skill store into a harness global or project path.

  • no argument: open a terminal UI picker for harness first, then skills
  • copy/link harness picker does not show default
  • harness only: open a terminal UI picker for skills
  • harness picker controls: Arrow moves, Enter confirms
  • skill picker controls: Arrow moves, Space selects, Enter confirms
  • -p/--project: operation on project level
  • -g/--global: operation on global level
  • By default, operation on project level
  • first positional argument: harness name

Sync

asb sync <src_harness> <dst_harness> [--copy] [--all] [-p | -g]

Sync all skills from the Agent Skill Bridge shared store into another harness global or project path. The source harness is used to detect skills that exist in the source global path but are missing from the shared store.

  • By default, sync in link mode from the shared store
  • -c/--copy: sync in copy mode
  • -a/--all: copy source-only skills into the shared store before syncing
  • Without -a, source-only skills are reported as warnings and are not synced
  • If the source harness has no global skills, sync completes without changing the destination and reports that the source has no skills
  • When sync runs, it reports the number of skills synced to the destination
  • -p/--project: operation on project level
  • -g/--global: operation on global level
  • By default, operation on project level

Completion

asb completion zsh
asb completion bash

Output the completion script in stdout

Config

asb config list
asb config add <harness> [-p <project>] [-g <global>]
asb config remove <harness> [-p | -g] [-a]

config list shows every harness config except default.

config add adds the fields that are provided. If neither -p nor -g is provided, the harness is stored as an empty object. If the harness already exists, Agent Skill Bridge asks whether to overwrite it and defaults to no.

config remove removes the whole harness config by default. With -p or -g, it removes only that field. By default, Agent Skill Bridge asks whether to delete the related global and recorded project skill folders. With -a, it deletes them without asking.

Default storage:

  • project: .agents/skills
  • global: os.getenv("XDG_CONFIG_HOME", "~/.config") + "/agents/skills"

For different harness, the mapper file is:

os.getenv("XDG_CONFIG_HOME", "~/.config") + "/" + "agents" + "/asb-mapper.json"

The default entry is always provided by Agent Skill Bridge and is not shown by config list.

<harness> : {
    "project": <prefix>,
    "global": <prefix>
}

Then we get the folder by:

harness = mapper.get(name, mapper["default"])
project_folder = harness.get("project", mapper["default"]["project"]) / "skills"
global_folder = harness.get("global", mapper["default"]["global"]) / "skills"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agent_skill_bridge-0.2.0.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agent_skill_bridge-0.2.0-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file agent_skill_bridge-0.2.0.tar.gz.

File metadata

  • Download URL: agent_skill_bridge-0.2.0.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agent_skill_bridge-0.2.0.tar.gz
Algorithm Hash digest
SHA256 485764536fce4ca591ddfecd27fb903df9ff44be628a3fb08ecdb851f1b8824d
MD5 adb4c9be05bcd79ff34a8174861721d5
BLAKE2b-256 2371abc84e1676ef30c709ae3a6cfa3533caf4316d1f588cb368f8cf67e591ce

See more details on using hashes here.

File details

Details for the file agent_skill_bridge-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: agent_skill_bridge-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agent_skill_bridge-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 97daa6a4b08601efaef895b46e0645d07278c2c2a7f32846127090ab4c020a27
MD5 811644e4c40e9ad47b18333f6ced3ce3
BLAKE2b-256 3845c96b558add88e460eb89455e3aba571c256c86759e51fdc27d3bad8e2cfc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page