Skip to content
Development
Command

/file

Read a file (whole or a line range) from an external cix project's server-side checkout

From plugin
code-index
278 skills1 agent8 commands
Install
$ npx -y skills add dvcdsys/code-index --agent claude-code

How 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.md
description: 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`.

Ships withcode-index

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.

Get the whole plugin, auto-invoked
Stats
27
Stars
0
Views
2
Forks
Active
Maintenance
Go
Language
MIT
License
4d ago
Last commit
4mo ago
Created

Repo: dvcdsys/code-index