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
318 skills1 agent8 commands
> /plugin marketplace add dvcdsys/code-index

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`.

@dvcdsys
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.

312 skills1 agent
Get the whole plugin

Stars on GitHub

Momentum

stars in total
31
Star history of dvcdsys/code-index on GitHub, a chart by star-history.com

Other commands on code-index.

def

def

Command

Find symbol definition(s) via cix — go-to-definition across the indexed codebase

@dvcdsys@dvcdsysInstall Command
init

init

Command

Initialize the cix index for the current project (registers, indexes, starts file watcher)

@dvcdsys@dvcdsysInstall Command
refs

refs

Command

Find symbol references via cix — locate every usage of a symbol across the codebase

@dvcdsys@dvcdsysInstall Command
search

search

Command

Semantic code search via cix — find code by meaning, not by exact strings

@dvcdsys@dvcdsysInstall Command
status

status

Command

Show cix indexing status and file-watcher state for the current project

@dvcdsys@dvcdsysInstall Command
summary

summary

Command

Show project overview from the cix index — languages, top directories, key symbols

@dvcdsys@dvcdsysInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command