@kheif/quiver
v1.6.1
Published
Central skill manager for AI assistants, delivered as an MCP server.
Maintainers
Readme
Quiver
A central skill manager for AI assistants, delivered as an MCP server.
Quiver keeps all your skills in one library, ~/.quiver: your own skills and skills from git repositories. You decide which skills are global (served in every folder) and which belong to a project. The assistant starts Quiver's MCP server, sees the skills of the folder it works in, and loads the ones a task needs.
Skills are never copied into projects. A project only gets a small .quiver.json with its ID.
Skills use the standard Agent Skills format: a folder with a SKILL.md (YAML frontmatter with name and description) and any extra files. Existing skills and skill repositories work as they are.
Install
Quiver is a single binary. It needs git on your PATH.
macOS and Linux:
curl -fsSL https://raw.githubusercontent.com/kheif/quiver/main/install.sh | shThe script downloads the latest release for your system, checks its checksum and installs quiver into ~/.local/bin. Set QUIVER_VERSION=v1.0.0 for a given release, or QUIVER_INSTALL_DIR for another folder. Run it again to update.
Windows (PowerShell):
irm https://raw.githubusercontent.com/kheif/quiver/main/install.ps1 | iexThe same steps for Windows: it installs quiver.exe into %LOCALAPPDATA%\Programs\quiver and adds that folder to your user PATH, without admin rights; open a new terminal afterwards. QUIVER_VERSION and QUIVER_INSTALL_DIR work the same way, set with $env:QUIVER_INSTALL_DIR = '...' before the line.
npm (macOS, Linux and Windows):
npm install -g @kheif/quivernpm installs the binary for your platform; no install script runs. If you switch Node versions with nvm, fnm or volta, run quiver install again afterwards, because the path of quiver changes with the Node version.
Go:
go install github.com/kheif/quiver/cmd/quiver@latestThe archives for every platform are also on the releases page. To build from a clone: make build, which writes bin/quiver.
New versions. Once a day, a command run in a terminal asks GitHub for the latest release, while it runs, and remembers the answer in ~/.quiver/state/version-check.json. When a newer version is out, the command ends with one line on stderr, with the install command that matches how you installed Quiver. Nothing is shown for quiver mcp, with --json, outside a terminal or for development builds, and a failed check is silent. quiver doctor shows the latest version. Set QUIVER_NO_UPDATE_CHECK=1 to turn the check off.
Quickstart
# 1. Create the library in ~/.quiver, register the MCP server with your
# assistants and import the skills you already have
quiver init
# 2. In a project folder, write a skill for that project
cd ~/code/app
quiver new release-notesIn a terminal, quiver init asks before each step: registering the MCP server (quiver install), importing the skills in ~/.claude/skills for every folder, and importing those in the current project's .claude/skills. Any step can be skipped and run later. quiver init --yes, or a run outside a terminal, only creates ~/.quiver; any other command creates it too.
quiver new makes the skill Searchable in the project: not listed at session start, found by the assistant when it searches (quiver add release-notes lists it instead). quiver new opens the new SKILL.md in $VISUAL or $EDITOR. Write one sentence in description on when the assistant should use the skill, and the instructions below the frontmatter. Quiver commits the skill in ~/.quiver/local and creates ~/code/app/.quiver.json. Commit that file, so the project keeps its ID in every clone.
Then start Claude Code in ~/code/app and ask for the task, such as "write the release notes for this version". The session-start text tells the assistant that some skills are not listed and when to look for one (the search cue, which names no skill), so it searches for release-notes and loads it. To list it at session start, and to run it yourself as /quiver:release-notes, run quiver add release-notes.
quiver status shows what the assistant gets in the current folder. quiver alone sums it up in three lines, with a next step, before the command list.
The interactive panel
In a terminal, quiver without arguments opens a panel for everything above, with no command to remember. ? lists the keys of the current section.
| Section | What it does |
|---|---|
| 1 Skills | Your skills in four views (available here, the project's, global, all), grouped by source. Assign a skill to the project and to every folder independently, each as Not assigned, Searchable, On demand or Always on. n creates a skill, i imports, e edits, f forks a source skill, d deletes, p pins. / searches. |
| 2 Projects | The registered projects. Choose one to manage it from anywhere, rename it, forget it, or split a copied folder. |
| 3 Sources | The skill repositories. a adds one, u checks for updates and shows what would change (d shows the patches) before it applies them, x removes one. While the panel is open, Quiver checks the sources for updates in the background, one at a time and only when online, and shows a notice; it pulls nothing without a key press. updateCheckInterval in config.json (a duration such as "12h", default 6 hours) sets how often. |
| 4 Health | The checks of quiver doctor and how always-on skills reach each assistant. i sets up the MCP server and hooks, f applies the safe fixes. Without a Quiver home, the panel offers to set it up. |
Every change goes through the same code as the matching command. quiver sync and the --json outputs stay on the command line.
Concepts
- Library.
~/.quiver/local/holds your own skills, in a git repository Quiver commits to.~/.quiver/sources/holds cloned skill repositories. SetQUIVER_HOMEto use another folder. - Skill files. A skill is a folder with a
SKILL.md. Quiver also imports a skill written as one markdown file of any name, such asreview.md, when its frontmatter has adescription. - Skill IDs. A local skill's ID is its folder name, such as
release-notes. A skill from a source is<source>/<skill>, such asanthropic/pdf. - Assignments.
registry.jsonstores which skills are global and which projects get which skills. A folder that is not a project gets only the global skills. - Assignments are yours. They live in your
~/.quiver, not in the project. A teammate who clones the project gets its.quiver.json, but not your skills or assignments. To share skills, put them in a git repository that everyone adds withquiver source add. - Projects. A project is the folder with
.quiver.json, found by walking up from the current folder. It is created the first time you assign a skill there; in a terminal,add,newandimportfirst askRegister <folder> as a project?(--yesskips the question). The ID survives moves and renames. Git worktrees of one repository share the committed.quiver.json, so they are one project with the same skills. If a folder is copied, both copies have the same ID;quiver statuswarns, andquiver projects splitgives the copy its own. - One copy of each skill. A skill that Quiver serves and that Claude Code also loads by itself, from
~/.claude/skills, the project's.claude/skillsor an enabled plugin, may be loaded twice.quiver importtherefore deletes the originals it copied, except those committed in a project's git, which teammates may still need (--keepkeeps every original).quiver statusandquiver doctorreport the copies they find, by name or by content, andquiver doctor --fixdeletes those not committed in git and not in a plugin. - Always-on skills. A skill added with
--alwaysis loaded before the assistant's first reply, for style or rules that apply to every answer. See the limits below.
Commands
Run quiver help <command> for the details and examples of each.
| Command | What it does |
|---|---|
| quiver | Show the project here, how many skills it is served and a next step, then the command list. |
| quiver init | Create the Quiver home and anything missing in it; in a terminal, then offer to register the MCP server and import existing skills (--yes: only create the home). |
| quiver new <name> | Create a local skill and make it Searchable in this project (--global: every folder, --none: nowhere). quiver add <name> lists it instead. |
| quiver edit <id> | Open a local skill in your editor, then check and commit it. |
| quiver delete <id> | Delete a local skill from the library. An assigned skill needs --force. |
| quiver fork <source/skill> | Copy a source skill into your own skills to change it; --as names the copy. The copy takes the original's place wherever it is assigned, and quiver update no longer changes it. |
| quiver import | Move the skills in this project's .claude/skills into the library, as Searchable skills (one that is already assigned keeps its level) (--deep: every folder of the project). Originals committed in git are kept; --keep keeps all. |
| quiver import <folder> | Move every skill in a folder and its subfolders into the library. Files that are not valid skills are listed at the end. |
| quiver import <skill> | Move one skill: its SKILL.md, its folder or a markdown file with frontmatter. --name renames it. |
| quiver add <id>... | Assign skills to this project, or to every folder with --global. --always makes them always-on. --searchable makes them Searchable: not listed or loaded at session start, found by the assistant when it searches and loaded without asking. --source <name> --searchable does that for every skill of a source that is not assigned yet in the scope. A skill is at one level per scope: --searchable takes it off the listed skills of that scope, and add without it takes it off the Searchable ones. |
| quiver remove <id>... | Unassign skills, from every level of the scope. They stay in the library. --source <name> removes every skill of a source. |
| quiver list | List the library's skills and where each is assigned, with the Searchable ones marked (--source, --unassigned, --json). |
| quiver show <id> | Show a skill: where it comes from, where it is assigned, its files and its SKILL.md (--json). |
| quiver search <text> | Search the names and descriptions of every library skill, also unassigned ones, ranked by words (and by meaning under the local engine), and show whether each is served here and at which level (--engine, --json). |
| quiver engine | Show the search engine and any problem in its settings file; quiver engine setup downloads the model and switches to local, quiver engine remove undoes it, quiver engine use <engine> chooses words or local, and quiver engine reindex rebuilds the index of local without a time limit. The setting is in ~/.quiver/state/search.json and belongs to this machine. |
| quiver status | Show the project in this folder and the skills served here, with a warning for each copy Claude Code also loads, and what the assignments cost at session start: skills listed, characters and estimated tokens of the listing, always-on skills apart, Searchable skills (they add nothing). -v lists the ten longest entries with the command that makes each Searchable (--json). |
| quiver where <id> | Show where one skill is assigned (--json). |
| quiver source add <repo> | Clone a skill repository: owner/repo (GitHub), a git URL or a local path. An http:// or git:// address is refused, because it is not encrypted; set "allowInsecureSources": true in ~/.quiver/config.json to allow it, and Quiver still warns. In a terminal it then asks whether to make the skills Searchable in every folder (the default is no; --searchable answers yes) and prints the command that undoes it. |
| quiver source list | List sources with their skill count and commit. |
| quiver source remove <name> | Delete a source. Refuses while its skills are assigned, unless --force. |
| quiver update [<name>...] | Download the latest skills of all or some sources and show what would change: the changed files of each assigned skill, with scripts marked "needs review". Asks before it applies changes to assigned skills (--yes does not ask, --diff shows the whole change). Pinned skills stay at their commit. |
| quiver pin <source/skill> [<commit>] | Keep a source skill at its current commit, or the one given, so quiver update leaves it alone. quiver unpin goes back to the source's current version. |
| quiver sync init <git-remote> | Keep the Quiver home in a git remote, so your other machines get the same skills, sources and assignments. Run it on each machine; then quiver sync commits, pulls and pushes, merges assignment changes from both machines and clones sources added elsewhere. Before it pulls changes that make a skill always-on or searchable, change the files of such a skill or add a source, it lists them and asks (--yes takes them). |
| quiver projects | List projects (--json); rename, forget and split manage them. |
| quiver doctor | Check the library, the assignments, copies of served skills in Claude Code and its setup (--fix applies the safe fixes). |
| quiver install [assistant...] | Register the MCP server and add the session-start hook where the assistant has one, in every supported assistant that is installed, or only in the assistants named. See MCP server. |
| quiver uninstall [assistant...] | Remove it from them, or only from the assistants named. |
| quiver mcp config | Print the MCP config entry for any other assistant. |
| quiver mcp | Run the MCP server. Assistants start this. |
| quiver completion <shell> | Print the completion script for bash, zsh, fish or powershell. |
Shell completion suggests real skill IDs, sources and projects. For zsh, for example:
quiver completion zsh > "${fpath[1]}/_quiver"quiver help completion shows the setup for each shell.
MCP server
quiver install sets up every supported assistant that is installed. Name assistants to set up only those, such as quiver install codex cursor. The supported assistants:
| Assistant | Name | What it changes |
|---|---|---|
| Claude Code | claude-code | Runs claude mcp add --scope user quiver -- <path to quiver> mcp. |
| Codex | codex | Runs codex mcp add quiver -- <path to quiver> mcp, which writes ~/.codex/config.toml (or $CODEX_HOME). The Codex CLI and app share it. |
| Cursor | cursor | Adds quiver to mcpServers in ~/.cursor/mcp.json. |
| Claude Desktop | claude-desktop | Adds quiver to mcpServers in ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows). |
| Antigravity | antigravity | Adds quiver to mcpServers in ~/.gemini/config/mcp_config.json, which the Antigravity CLI (agy) reads. |
| VS Code (Copilot) | vscode | Adds quiver to servers in ~/Library/Application Support/Code/User/mcp.json (macOS; %APPDATA%\Code\User\mcp.json on Windows, ~/.config/Code/User/mcp.json on Linux), with "type": "stdio". |
An assistant counts as installed when its command (claude, codex) is on PATH, or when its config folder exists (~/.gemini/antigravity-cli for Antigravity, VS Code's user folder for VS Code; VS Code Insiders keeps its files under Code - Insiders). In the JSON files, every other key stays as it is, including an env of the quiver entry, and the old file is saved next to it as <file>.quiver-backup. A file that is not valid JSON is reported and never overwritten. When Codex already has a quiver entry, its env is kept too. Restart the assistant afterwards. quiver doctor checks the entry of each installed assistant. Every assistant but Claude Code gets the path of the binary itself, never the npm launcher, because desktop apps do not see your shell's PATH and so cannot find node. Cursor passes the skill list to the model and starts the server in the workspace folder, so project skills work there. The earlier names quiver mcp install and quiver mcp uninstall still work as hidden, deprecated aliases.
quiver install ends with one line per assistant saying how always-on skills reach it, and quiver status lists the same. For an assistant without a session-start hook it names the always-on skills, which do not load by themselves there.
Claude Code, Codex, Cursor, Antigravity and VS Code get a session-start hook that adds the always-on skills' text at the start of every session, so they always reach the model. Claude Code, Codex, Antigravity and VS Code also run it for each sub-agent; Cursor's sub-agent event cannot add text, so it has only the session-start hook. VS Code's hook is one file Quiver owns, ~/.copilot/hooks/quiver.json, which both its harnesses read. Codex's hooks are trusted automatically through codex app-server; if that fails, quiver install prints the "Review hooks" step. quiver doctor reports a Claude Code, Codex, Antigravity or VS Code hook that is missing, runs another binary, or (Codex) needs review.
The hook passes the always-on skills in full, global ones first, and then the ID and description of every other skill served in the folder. An assistant takes only so much text from one hook command (Claude Code 10,000 characters, Antigravity about 48,900 bytes), so Quiver splits the text over as many hook commands as the assistant needs and nothing is left out. Each part says which one it is, and a skill is cut between parts only when it is longer than one. quiver install, and every command that changes skills, sets the number of commands to what your skills take (a project's own always-on skills count too); quiver doctor warns when an assistant has fewer commands than the text takes. The parts of one session start share one text: the first command builds it and the others read it, so a skill edited meanwhile cannot give them different texts.
A session never starts silently without its skills. A skill that cannot be read is left out and named, and so is anything else the hook could not do (an unreadable registry, a .quiver.json that is not a small file, a folder that has the project ID of another folder, as a copied repository does); the assistant is told in a <quiver-notice> block and tells you. Text that reaches the model is cleaned: hidden characters are dropped and a skill cannot write Quiver's own tags. ~/.quiver/logs/hook.log records each run with a hash of the text it passed.
Claude Desktop uses Quiver's skills only when you ask for them in the prompt, such as "check the quiver skills for this"; quiver install says so, because Claude Desktop drops the server's instructions. Antigravity starts the server in the project folder, so project skills work there. VS Code starts it in your home folder and sends the workspace as an MCP root, which Quiver reads after startup to serve that project's skills. See docs/spike-mcp-clients.md.
For any other assistant, quiver mcp config prints the entry:
{ "mcpServers": { "quiver": { "command": "/path/to/quiver", "args": ["mcp"] } } }The server serves the project of the folder it is started in, or of $QUIVER_PROJECT when that is set. It logs to ~/.quiver/logs/.
Claude Code starts the server in the project folder. Other assistants may start it somewhere else, such as your home folder; there it serves only the global skills, unless the assistant sends its workspace as an MCP root (VS Code), which Quiver reads to find the project. Cursor starts it in the workspace folder. Claude Desktop never starts it in a project. Set QUIVER_PROJECT in that assistant's MCP config to serve a project's skills.
Instructions. The server's instructions stay short: how to use its tools (get_skill, get_skill_file, list_skills, search_skills), that new skills are saved with create_skill, and the names of the always-on skills, which an assistant without a session-start hook loads with get_skill. The skills themselves come from the hook above: the always-on skills in full and the others as ID and description.
Tools:
| Tool | Input | Result |
|---|---|---|
| list_skills | — | Every listed skill here, project skills first: ID, name, whole description, global or project, and whether it is always-on. Searchable skills are not listed. |
| get_skill | id | The skill's instructions, its extra files and its folder. A Searchable skill loads without the note that it is not assigned. |
| get_skill_file | id, path | One extra file of a skill, such as references/checklist.md. Large and binary files return their path instead. |
| create_skill | name, description, body, scope (project or global), optional files | Creates a local skill, commits it and assigns it. In a folder that is not a project yet, project scope registers it. |
| update_skill | id, any of description, body, files (an empty content deletes the file) | Changes a local skill and commits it as update <name> (via MCP). Other frontmatter fields are kept. Source skills are read-only. |
| search_skills | query | Searches the skills that are Searchable in this project (assigned here, but not listed), ranked by words, or by words and meaning under the local engine, and returns at most 10, with more for the matches left out. Every match is assigned here (assigned is true, scope is project or global); the assistant loads the one that fits with get_skill. Listed skills and skills that are not assigned are not searched. The description and the session-start text carry the search cue: when the topic of the conversation calls for a skill that is not listed, search with the topic in a few words, and load a fitting skill without asking. |
Prompts. Every listed skill is also an MCP prompt; Searchable skills are not. In Claude Code it appears as /quiver:<id>; text after the command is passed to the skill as the task.
Live updates. While a session runs, the server watches the library. Skills you add, remove or change show up in list_skills and the prompts right away. The hook's text is built when a session starts, so it changes from the next session on.
Searching by meaning
The words engine ranks skills by the words of their names and descriptions. The local engine adds meaning: "send a note to the team channel" finds the Slack skill, though the skill shares no word with the query. It runs a small model, all-MiniLM-L6-v2 (22 million parameters, English only), inside the Quiver process in plain Go: no server, no runtime, no cgo, and a search makes no network call. A query in another language gets the words matches. Set it up with quiver engine setup: it asks once, downloads the 91 MB model file over HTTPS from one pinned address (huggingface.co, a fixed revision), checks its SHA-256, builds the index, checks that the search finds a skill of yours and switches to local. That download is the only network use; Quiver installs and starts nothing else. A file that you put in ~/.quiver/cache/models/all-minilm-l6-v2/ yourself is accepted when its hash matches (a machine without access to the address, a company mirror). quiver engine use words switches back and keeps everything; quiver engine remove deletes the index and, after asking, the model file that Quiver downloaded, never one that you put there.
The first search after you add or change skills embeds them (about 0.1 s a skill on 8 cores; a quiver search builds the missing part for up to a minute and then answers with what it has, and quiver engine reindex builds it all). The vectors of 263 skills are one file of about 1 MB, ~/.quiver/cache/embeddings.json. The server and the panel build in the background and answer with words meanwhile. Without the model file the search runs as words with one line, and quiver doctor names the missing file.
Measured on a library of 263 skills and the English queries of its test half (60 that fit a skill, 27 that fit none), on an Apple M1:
| Engine | A fitting skill among the first five | Queries that fit nothing and return nothing |
| --- | --- | --- |
| matching of earlier versions | 10 of 60 | 27 of 27 |
| words | 44 of 60 | 26 of 27 |
| local (fused with words) | 55 of 60 | 22 of 27 |
The index of the 263 skills takes 23 s. One search, the query included, takes 0.12 s and 74 MB resident, of which 21 MB are private to the process: the weight file is mapped, so the pages are shared. Five processes that search at once take 0.17 to 0.19 s each and the same 74 MB resident each.
Always-on skills: limits
- Changes take effect in the next session, because the hook runs when a session starts.
- Only the skill's text is delivered. Plugin hooks, such as a per-message reminder, are not run.
- Sub-agents get the text from the sub-agent hook, in the assistants that have one (Claude Code, Codex, Antigravity, VS Code); Cursor has none.
Security
Skills give instructions to your assistant, and a skill can include scripts the assistant may run. A skill from a source is code you run on your own machine.
- Add only sources you trust, and read their skills before you assign them.
quiver updatedownloads new commits before it applies them, lists the changed files of every assigned skill, marks scripts and executable files "needs review", and asks before it applies the changes. Read them withquiver update --diff; answering no leaves the source as it was. To review changes to a skill before it reaches your sessions, pin it withquiver pinand move the pin when you have read them.- Source skills are read-only in Quiver. To change one, fork it into your own skills with
quiver fork. quiver synctakes in what another machine pushed, so it lists changes that make a skill always-on or searchable, change the files of such a skill or add a source, and asks first; use a private remote.- Search makes no network call, and the
localengine runs its model inside the Quiver process. The only download is the one of the model file. get_skillreads the whole library, not only the skills assigned to the project; assign only what you want a project's sessions to see by name.search_skillsfinds only the skills that are Searchable in the project.update_skillchanges only skills served in the session's project, and never an always-on or Searchable skill (the assistant loads both without asking): change those yourself withquiver edit, or make a Searchable skill listed withquiver add <id>first.create_skillandupdate_skilllet the assistant write skills into your library. A global skill's description reaches the assistant in every folder, so review new global skills withquiver listandquiver edit. Every change is a commit in~/.quiver/local(in~/.quiveronce you usequiver sync), sogit -C ~/.quiver/local log -pshows it andgit revertundoes it.
To report a vulnerability in Quiver itself, see SECURITY.md.
Uninstall
The last command deletes your own skills too. quiver init and quiver import moved the skills you had in ~/.claude/skills and in projects' .claude/skills into ~/.quiver/local, so that folder holds the only copy of them. To keep them, first push ~/.quiver/local somewhere: it is a git repository.
quiver uninstall # remove the MCP server and the session-start hooks from every assistant
rm "$(command -v quiver)" # remove the binary; with npm: npm uninstall -g @kheif/quiver
rm -rf ~/.quiver # delete the libraryOn Windows, after quiver uninstall, delete %LOCALAPPDATA%\Programs\quiver and %USERPROFILE%\.quiver, and remove the folder from your user PATH in the environment variables settings.
Projects keep their .quiver.json; delete it there if you no longer need it.
Development
make build # bin/quiver
make test # go test ./..., including the end-to-end suite in e2e/
make lint # golangci-lintSee CONTRIBUTING.md, PROJECT.md for the design and tasks/ for the plan.
License
Apache License 2.0. See LICENSE.
