Project Overview
Skill Installer is a zero-dependency Node.js CLI and local web interface for managing skills across Claude Code, Codex, Cursor, and Gemini CLI. It also manages plugins for Claude Code and Codex through those tools' own commands.
The package is published on npm as ai-skills-installer. The hosted site is the same interface. Run npx ai-skills-installer ui and it connects to your computer and installs for real. Without that connection it is a preview, with real public GitHub reads and installs and removals that stay in browser memory.
Problem / Context
Each coding agent stores skills in a different directory. Copying the same skill into several tools creates duplicates that drift apart, while a simple installer can accidentally overwrite a folder the user maintained by hand.
I wanted one stored copy, clear ownership of the links created by the tool, and a page that shows what each agent has installed. Plugins need a separate path because their host tools manage versions, catalogs, commands, and hooks.
Key Features
- Install selected skills from a local folder or GitHub repository into detected agents, or explicitly select the target tools.
- Inspect repositories before installation and choose among multiple skills and supported plugins.
- View managed and unmanaged skills per agent, update existing installs, and identify broken links.
- Skip foreign folders and conflicting sources unless the user explicitly chooses to overwrite them.
- Install and uninstall supported plugins through the agents' official CLI commands.
- English and Chinese interfaces, public GitHub search, and a hosted site that works as a preview until a computer is connected.
Tech Stack
The CLI and local HTTP server use Node.js built-in modules. The interface uses native JavaScript, HTML, CSS, local fonts, and SVG icons. It has no runtime npm dependencies and needs no frontend build step.
Architecture
Skills are stored once under ~/.skill-installer/skills/. A JSON manifest records each skill's source and the link or copy installed for each agent. agents.mjs defines tool detection and destination directories; Codex skills go to ~/.agents/skills/.
The CLI's add() resolves a source, discovers skills, checks ownership and source conflicts, calls copyIntoHub(), and installs into each selected agent through installToAgent(). Windows uses directory junctions; other systems use symbolic links, with a copy fallback. Reinstalling a skill is its update path, and an existing copy remains a copy.
The local web server sends skill changes through the CLI as child processes and queues writes to the shared manifest. Plugin operations go through plugins.mjs, which invokes the installed Claude Code or Codex command instead of editing plugin caches. The hosted page uses an in-memory preview backend when no local access token is present, and sends installs and removals to the local service once one is.
Technical Challenges
The main filesystem challenge is distinguishing this tool's installations from someone else's files. Removal only deletes a link pointing at its hub or a copy recorded as managed. A foreign folder is left alone. When the last managed installation is removed, its central copy and manifest entry are cleaned up too.
Updates also need to handle a source that is itself an agent link into the hub. copyIntoHub() copies the source to a staging directory before replacing the old hub folder, so the update does not delete its own source. The manifest is written to a temporary file and renamed to avoid a partially written JSON file.
Engineering Decisions / Trade-offs
- Keep one central copy and per-agent links, with copying available when links cannot be created.
- Require explicit selection when a source offers multiple skills, and explicit overwrite permission for conflicts.
- Let agent CLIs own plugin installation, versions, and removal. Plugin support currently covers Claude Code and Codex only.
- Bind the real web interface to localhost and require a fresh startup token. Validate names and command arguments before starting child processes.
- Render repository and skill text as text nodes, and keep preview changes in memory. The hosted site has no filesystem or CLI access of its own; real installation goes through the local service that the tool starts on your computer.
The current tool supports user-level installations. Its metadata parser reads the supported skill frontmatter fields rather than implementing a full YAML parser, and copied installations need another add/update operation to refresh.
Screenshots
This capture of the site before a computer is connected shows the sample per-agent skill list and the installation interface. The displayed skills are sample state, not a scan of the visitor's computer.

Results
The package is available on npm as ai-skills-installer@0.2.1. Its end-to-end tests cover the CLI and local UI, including managed-file ownership, conflicting sources, updates, link/copy behavior, token checks, and plugin argument validation. Tests use temporary homes and fake plugin commands so they do not modify a user's real agent configuration.
The hosted site was checked, before connecting a computer, for real public GitHub repository reads, language switching, agent tabs, in-memory installation and deletion, reset on refresh, and mobile layout. Its static files are published through the Portfolio's existing GitHub OIDC workflow to S3 and CloudFront, without a hosted installation backend.
Live Site / GitHub
Run npx ai-skills-installer ui to connect the site to your computer and install for real. See the npm package and the implementation of skill commands, filesystem ownership rules, and the local web server.