/passageway:passageway-add-sourcefrom passageway
Add 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.
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.
passageway indexes what its connectors report (docs: https://getpassageway.com/configuration/). The configuration is one TOML file: $PASSAGEWAY_CONFIG, else ~/.config/passageway/passageway.toml (passageway init writes a sample), /config/passageway.toml in the container. This skill edits that file; the server reads it at start, so every change ends with a restart. Never print a secret, never ask the user to paste one into the chat, never write a token or password into the file: a secret is a reference to an environment variable, env:NAME, and the variable is set where the server starts (the shell, the launchd plist, the compose file).
Documentation: the index https://getpassageway.com/llms.txt lists every page with its markdown address; the whole documentation is one file, https://getpassageway.com/llms-full.txt. Before you act on something this skill only names (a connector's settings, a configuration key, a deploy step), fetch its page and work from it, not from memory.
Free text (a URL, a folder, a space key, a name) is asked in the chat, never through a choice prompt; a choice prompt is only for real alternatives (which source, which operation).
Several instances. A machine may run several passageway servers side by side, one per Claude setup (https://getpassageway.com/configuration/#several-instances). Instance <name> lives in ~/.config/passageway-<name>/ (its passageway.toml, password and env), listens on its own port, runs as the service de.marceltov.passageway.<name> (macOS, log ~/Library/Logs/passageway-<name>.log) or passageway-<name> (Linux), and /health names it under instance. Wherever this skill says ~/.config/passageway, the service, the log or port 8082, use the instance's. ls -d ~/.config/passageway*/ lists them. Add the source to the instance the user means: the one this Claude is connected to (the URL in its hook file; /health there names it), and ask when it is connected to several or it is unclear. A source in the wrong instance is visible to the wrong Claude.
Add a source (default), or show what is configured (print the file with every secrets line masked).
Find the file: echo "${PASSAGEWAY_CONFIG:-$HOME/.config/passageway/passageway.toml}"; in a container it is the mounted /config/passageway.toml on the host. Read it: existing [[connector]] tables tell you the interpreter path and the style to keep. Connector names are unique, lowercase, [a-z0-9_-].
Find the interpreter that has the connectors: a connector runs with an empty environment, so python on the PATH is not it. For a uv tool install it is $(uv tool dir)/passageway/bin/python (the sample written by passageway init already names it); in the image it is python (the venv is first on the PATH); otherwise $(dirname "$(which passageway)")/python. Check it: <python> -c "import passageway_connector_markdown". An ImportError means the connector package is not installed; for a uv tool install, add it with uv tool install --python 3.14 "passageway[<name>,...]" (list every connector already in use, uv tool list --show-extras shows them; the command replaces the set).
Ask what to index, then write one table. The bundled connectors and their settings, from their own pages (read the page for the full table before writing):
command = [<python>, "-m", "passageway_connector_markdown"], env = { FOLDER = "/abs/path" }; INCLUDE/EXCLUDE are glob patterns separated by |."-m", "passageway_connector_trilium", env = { URL = "http://host:8080" } (plus WEB_URL when readers reach it under another name), secrets = { TOKEN = "env:TRILIUM_TOKEN" }; the token is an ETAPI token."-m", "passageway_connector_confluence", env = { URL = "https://wiki.example.org", SPACES = "KEY1|KEY2" }, secrets = { TOKEN = "env:CONFLUENCE_TOKEN" }; a personal access token."-m", "passageway_connector_github", env = { REPOS = "owner/repo|owner/other@branch|org/*" }, secrets = { TOKEN = "env:GITHUB_TOKEN" } (a fine-grained token with read access to Contents and Metadata; without one GitHub allows 60 calls an hour, too few for more than a small public repository). The markdown files by default; for code add FILES = "*.md|src/**/*.py". For GitHub Enterprise Server, API_URL = "https://github.example.org/api/v3"."-m", "passageway_connector_llmstxt", env = { URLS = "https://docs.example.org|https://example.org/SKILL.md" } (site addresses, file addresses and llms.txt addresses, separated by |); no secret."-m", "passageway_connector_mkdocs", env = { URLS = "https://docs.example.org|https://user.github.io/project" } (site addresses, separated by |; optionally WEIGHTS = "changelog=0.5"); no secret. It reads search/search_index.json and links every hit to its heading. Prefer the llms.txt connector when the site has an llms-full.txt. A page footer saying "Made with Material for MkDocs" or a search/search_index.json that answers tells you it is one."-m", "passageway_connector_sitemap", env = { SITEMAP = "https://docs.example.org" } (the site's sitemap, optionally FOLLOW_LINKS, INCLUDE, EXCLUDE, MAX_PAGES); no secret. A site whose pages a script builds (a nearly empty page when fetched) needs RENDER = "true", which opens each page in a headless browser: install the extra (--with 'passageway-connector-sitemap[render] @ git+...') and Chrome or playwright install chromium; the container needs the :browser image. Prefer the llms.txt connector when the site has an llms.txt."-m", "passageway_connector_wikipedia", env = { LANGUAGE = "en", CATEGORIES = "Deep learning", CATEGORY_DEPTH = "1" } or TITLES = "A|B"; no secret./create-passageway-connector, then come back here.Every env value is a string. Example of a complete table:
[[connector]]
name = "notes"
command = ["/Users/me/.local/share/uv/tools/passageway/bin/python", "-m", "passageway_connector_trilium"]
env = { URL = "http://127.0.0.1:8080" }
secrets = { TOKEN = "env:TRILIUM_TOKEN" }
For a secrets entry, the variable is set where the server starts: ~/.config/passageway/env for the service (step 6), environment: in compose (https://getpassageway.com/deploy/). Never ask for its value.
Check the file parses: <python> -c 'import tomllib,sys; tomllib.load(open(sys.argv[1],"rb"))' <file>.
If a secrets entry references a variable the server does not have yet, add NAME= to ~/.config/passageway/env (0600; the service installed by /passageway-install reads it) and ask the user to fill the value in that file with their editor. Restart the server yourself: launchctl kickstart -k gui/$(id -u)/de.marceltov.passageway for the launchd service, systemctl --user restart passageway for systemd, docker compose restart passageway for the container; a server started by hand in a terminal is the user's to restart. Then curl -s <url>/health: "indexing" while the first index build runs (the source's fetched and of say how far it is), then "ok" with the source listed; "error" names the problem (a missing variable, an unreachable source). A big source takes minutes on the first build.
Say what was added and suggest a question the recall tool should now answer.
The embedding model is not this skill's job: the /passageway guide says how to pick a preset or run any model ([embedder]).
Print the file with the values of every secrets entry replaced by *** (they are references, but the habit matters), and /health for what the server runs with.
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./passagewayRetrieval 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./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