/passageway:passagewayfrom passageway
Retrieval for Claude over MCP. Use when the user wants to install, configure, run or extend passageway: index their sources with connectors, ask the recall tool a question, or write a new connector.
Ships in passageway. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
If you are an AI agent reading this file, this is a short guide to passageway for helping your human. The complete documentation is one file, https://getpassageway.com/llms-full.txt (an index of the pages is at https://getpassageway.com/llms.txt, each with its markdown address). Read this file first, then follow the route that fits, and fetch the page for what you touch before acting on it.
passageway indexes what connectors report and serves the best few passages for a question as one MCP tool, recall. It is the retrieval half of a RAG system: it never writes the answer, the model that calls it does. A relevance gate lets it return nothing when nothing fits. The core knows no source; a connector is any program that lists items and prints their text as JSON Lines.
| If your human wants to... | Do this |
|---|---|
| Understand what passageway is | Explain it from this page; point to https://getpassageway.com/how-it-works/ for the details. |
| Install and run it | In Claude Code, the skill /passageway-install (https://getpassageway.com/skills/passageway-install/SKILL.md) installs it and runs it as a service; otherwise follow Install and run. |
| Index a source | Check whether a bundled connector fits (today: Wikipedia, https://getpassageway.com/connectors/wikipedia/, a folder of markdown files, https://getpassageway.com/connectors/markdown/, the llms.txt of websites, https://getpassageway.com/connectors/llmstxt/, a site built with MkDocs from its search index, https://getpassageway.com/connectors/mkdocs/, a website from its sitemap, https://getpassageway.com/connectors/sitemap/, Trilium Notes, https://getpassageway.com/connectors/trilium/, Confluence Data Center, https://getpassageway.com/connectors/confluence/, and GitHub repositories, https://getpassageway.com/connectors/github/); the skill /passageway-add-source (https://getpassageway.com/skills/passageway-add-source/SKILL.md) writes its [[connector]] into passageway.toml; /passageway-connect links Claude Code to the server. Otherwise write one. |
| Write a connector | Use the skill create-passageway-connector: https://getpassageway.com/skills/create-passageway-connector/SKILL.md (or install the plugin, see below). |
| Fix something that does not work | In Claude Code, the skill /passageway-status (https://getpassageway.com/skills/passageway-status/SKILL.md) checks the server, the service, the hook and the registration and says what to do. By hand: start with curl http://127.0.0.1:8082/health, see Tips for agents. |
| Measure retrieval quality | In Claude Code, the skill /passageway-evaluate (https://getpassageway.com/skills/passageway-evaluate/SKILL.md) builds the questions with the user and reads the result back. By hand: passageway eval cases.toml runs a TOML file of questions against the configured sources and reports hit@1, hit@3, MRR, silence and latency; see https://getpassageway.com/guides/evaluate/. passageway eval compare cases.toml runs them with several embedding models side by side (https://getpassageway.com/guides/evaluate/#compare-embedding-models). |
| Use another embedding model | Any model, as a program that speaks the embedder protocol: kind = "command" under [embedder] in passageway.toml, see https://getpassageway.com/reference/embedder-protocol/ and https://getpassageway.com/configuration/#the-embedder. The bundled adapter for Ollama, LM Studio, vLLM, OpenAI and Voyage is https://getpassageway.com/embedders/openai/. Built-in presets: multilingual-e5-small (default), multilingual-e5-base, jina-v2-base-de, chosen with model = ... under [embedder] (passageway model list shows them with their measured relevance gate, https://getpassageway.com/models/); the files are fetched once at the next start. Keep min_similarity unset for a preset and measure it with passageway eval cases.toml --sweep for a command embedder, since the similarity scale changes with the model. The index is rebuilt at the next start: restart and check /health. |
| Run it in a container, as a service, install the prompt hook | The image ghcr.io/getpassageway/passageway and passageway init plus a launchd example: https://getpassageway.com/deploy/. The prompt hook (it calls POST /recall) and the setup skill come with this plugin: run /passageway-connect (https://getpassageway.com/guides/claude-code/). |
If the intent is unclear, ask which of these they want.
uv tool install --python 3.14 "passageway[wikipedia]"
passageway model download does it ahead of time. It lives in <data dir>/models/e5-small or the directory named by PASSAGEWAY_MODEL_DIR.sh`; https://getpassageway.com/install/ has the steps.~/.config/passageway/passageway.toml with one [[connector]] per source. Secrets are references such as env:NAME, never values. A connector runs with an empty environment except PATH and HOME, so use the interpreter of the tool environment, $(uv tool dir)/passageway/bin/python.PASSAGEWAY_LOGIN_PASSWORD set to a password they choose, by running passageway. You do not need that password and must not handle it.GET http://127.0.0.1:8082/health: ok is ready, indexing is still building its first index, degraded means a source is failing. The error text is shown only to a caller sending Authorization: Bearer <password>: the human runs that request and tells you what it says.http://127.0.0.1:8082/mcp with that bearer password.Every setting is documented at https://getpassageway.com/configuration/.
A connector answers check, list, fetch (and optionally changed --since T) and prints one JSON object per line. The rules that matter: ids are stable, the version changes exactly when the content changes, list is the truth for deletions, fetch returns only the ids it is asked for, and a failure is a non-zero exit. Protocol: https://getpassageway.com/reference/connector-protocol/. Test with passageway.testing.contract.check_connector.
To install the skill into Claude Code: /plugin marketplace add getpassageway/passageway, then /plugin install passageway; the skill is /create-passageway-connector.
passageway.toml holds env:NAME references. Commands that need the password are run by the human, who shares only their output./health and passageway.toml first. To rebuild one source, the human stops passageway, deletes <data dir>/<name>.db and its -wal and -shm files, and starts it again. Stop passageway first: the file is open while it runs. The next start rebuilds that source from its connector and takes as long as the first.version above). To pin it, fetch it from a release tag on GitHub instead of the live site (https://raw.githubusercontent.com/getpassageway/passageway/v<version>/skills/passageway/SKILL.md), once a release includes the skills; the first one that does is the release after v0.1.0.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub getpassageway/passageway --plugin passageway7 skills in this plugin
/create-passageway-connectorCreate a passageway connector, a small program that lists the items of a source and prints their text as JSON Lines. Use when the user wants passageway to index a new source such as a folder, an API, a database or a wiki./passageway-add-sourceAdd a source to a running passageway: write the [[connector]] for a folder of markdown, Trilium, Confluence or Wikipedia into passageway.toml, with secrets as env: references, then restart and check /health. Use when the user wants passageway to index something, or when the index is empty after connecting Claude Code./passageway-connectConnect Claude Code to a running passageway server: set its URL and password once, so the prompt hook adds relevant passages from the user's sources automatically and the recall MCP tool is registered. Use when the user wants to connect, check or remove the passageway hook or MCP server in Claude Code.Other plugins' skills for the same job