UCCIF — Universal Claude Code Intelligence Framework
A plugin for AI coding tools: Claude Code, Antigravity (CLI and IDE) and Gemini CLI. Support differs
per tool; see the comparison table. This page describes
Claude Code, the fullest case. Install the core plugin uccif once; from then on, in any
repository, with nothing to run by hand:
- CodeGraph (@colbymchenry/codegraph) as the
code index: the
uccif:codegraph skill installs the CLI and indexes the project
(.codegraph/, SQLite, tree-sitter), the plugin declares its MCP server, and hooks tell Claude
to query codegraph_explore before any Grep/Read of source code (also cat/sed/head on
it). When CodeGraph or the project skills become ready mid-session, the next prompt tells Claude,
so it stops following the earlier "use Grep" note;
- LSP for TypeScript/JavaScript and Python (Claude offers to install a missing server once);
- CORE RULES and a token-saving workflow injected by hooks at every session and prompt;
- automatic task memory: the first edit opens a task (title from your prompt), edited files are
recorded (also files changed by Bash or a script: at the end of each turn the hook compares
git status with the start of the turn), the task survives turns and /clear, and closes on new work, after 24 h idle, or when
Claude records a decision or issue;
- project skills generated from the graph (
<project>-map, -bugfix, up to 5 -mod-*): the
code map, one source of truth. /uccif:init is optional: it only adds what the graph cannot
know (purpose, conventions, external services) to .claude/uccif/summary.md and a ≤ 15-line
block in AGENTS.md, which CLAUDE.md imports with @AGENTS.md;
- a real token line after each reply, read from the transcript — never estimated;
- read-only agents for impact analysis, change review and module purpose;
- logs of every hook run and session (
uccif log hooks|sessions).
The plugin never blocks a tool call or a stop by default: every hook exits 0. The one opt-in
exception is strict_codegraph (off by default): with CodeGraph indexed, the first Read/Grep of
source code in a turn without a CodeGraph lookup is refused once, with the lookup to make instead;
a retry goes through. Claude Code only.
📖 User guides: Tiếng Việt · English. They cover install,
daily use, the token line, what to commit, updating, uninstalling and troubleshooting.
Install
/plugin marketplace add phongng255/uccif
/plugin install uccif@uccif
Then open a project and ask for anything. Without CodeGraph, Claude asks once whether to install it
and, on yes, installs, indexes and writes the project skills in the same session.
Options (/config): reply_language (default vi), token_report (default on), auto_setup
(default off), strict_codegraph (default off).
Requirements: Python 3.8+ (python3, python or py -3), git. macOS, Linux and Windows (Git
Bash, which Claude Code uses to run hooks) are all tested in CI; Windows has not yet been
tried in a real Claude Code session. Language servers and the CodeGraph CLI are never installed
without your agreement; uccif doctor reports what is missing.
Antigravity
Antigravity CLI (agy), from a terminal:
agy plugin install https://github.com/phongng255/uccif/tree/main/plugins/uccif-antigravity
Use that exact URL form. A bare repo URL, #branch or --ref installs the Claude plugin from the
default branch instead, whose hooks Antigravity skips. Remove it with agy plugin uninstall uccif.
Antigravity IDE, in a project (this writes .agents/, which the IDE reads per workspace):
<path to>/plugins/uccif/bin/uccif setup antigravity
Run bin/uccif directly: it is a shell script, not a Python file. --remove deletes only the files
it wrote. The rule file holds this machine's path to uccif, so do not commit it. There are no hooks
in this mode, so no automatic task memory and no automatic indexing: run codegraph init --yes and
uccif skills generate yourself to get the project skills.
Antigravity shows no token line and has no #quick: its hooks do not allow them.
Update
/plugin marketplace update uccif
/plugin update uccif@uccif
The same from a terminal: claude plugin marketplace update uccif, then
claude plugin update uccif@uccif. Restart Claude Code afterwards; an update only applies after a
restart.