/file
Read a file (whole or a line range) from an external cix project's server-side checkout
$ npx -y skills add dvcdsys/code-index --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/file
Context preview
What this command does when you run it.
Read a file (whole or a line range) from an external cix project's server-side checkout
Command definition
file.mddescription: Read a file (whole or a line range) from an external cix project's server-side checkout argument-hint: <file> [-n <external-project>] [--lines N:M] allowed-tools: Bash(cix *)
Read a file from the server-side checkout of an **external (GitHub-backed)** cix project: **$ARGUMENTS**
cix file $ARGUMENTS
This works only for external / workspace repos the server keeps on disk — the way to read source from a repo you don't have locally. For the **current / local** project, use the native Read tool instead (the file is already on your machine; this command will return an error pointing you there).
Tips:
- Target the repo with `-n github.com/owner/repo@main` (from `cix list`).
- `--lines N:M` selects a 1-based inclusive range (`N`, `N:`, `:M` also work).
- To find the path first, use `/cix:search` or `cix files <pattern>`; to browse
the tree, use `/cix:tree`.
Self-hosted semantic code search platform — Go server with web dashboard, CLI, and AI-agent skills. Search code by meaning, not text: hybrid BM25 + dense embeddings via llama.cpp.
Other commands on code-index.
- /def
Find symbol definition(s) via cix — go-to-definition across the indexed codebase
Open command - /init
Initialize the cix index for the current project (registers, indexes, starts file watcher)
Open command - /refs
Find symbol references via cix — locate every usage of a symbol across the codebase
Open command - /search
Semantic code search via cix — find code by meaning, not by exact strings
Open command - /status
Show cix indexing status and file-watcher state for the current project
Open command - /summary
Show project overview from the cix index — languages, top directories, key symbols
Open command

