setup-openez
Skill4 starsChanged 3 months agoMITView on GitHub
Use when a project needs code intelligence (semantic search, graph traversal, caller analysis) and OpenEZ is not yet set up or the index is stale.
- Installs packages
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- asta-nguyen/kamehadbedited, first seen Oct 4, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- asta-nguyen/kamehadb★ 15100% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- writing-skillsSkill
- brainstorm-featureSkill
- context-handoffSkill
- document-wikiSkill
- estimate-featureSkill
- implement-taskSkill
- lean-auditSkill
- plan-featureSkill
- read-codebase-contextSkill
- review-and-verifySkill
- setup-codebaseSkill
- systematic-debuggingSkill
- using-devkitSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 6 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Resume after client wiring: If a previous session completed client wiring, skip steps 1–4 and go to step 5.
- Very specific: line 27
Initialize the workspace index: Before initialization, ensure .gitignore contains .openez/.
- Distinctive: line 44
Run this for initial setup or when the index is missing or stale.
- Distinctive: line 52
If AGENTS.md exists and does not mention OpenEZ, present the exact section below and wait for the user's approval before adding it:
- Very specific: line 68
If the user declines, leave AGENTS.md unchanged and report that the guidance was not added.
- Very specific: line 74
Read openez setup --help to find supported clients.
- Distinctive: line 81
If the user's client is not listed, consult that client's official MCP configuration documentation (for example, Cursor).
- Very specific: line 92
If the user approves and wiring is applied, stop and tell the user to restart the agent.
- Very specific: line 100
If client wiring was approved and run, verify in a session after restart.
- Very specific: line 101
When OpenEZ MCP tools are available in this session, call code_query with a simple query (e.g., "entry point" or "main function").
- Distinctive: line 106
Check that the MCP server is running.
- Very specific: line 108
If still failing, fall back to direct file reads and rg.
- Very specific: line 110
If OpenEZ MCP tools are unavailable in this session, do not call code_query.
- Distinctive: line 121
After significant code changes (new files, renamed modules, large diffs)
- Very specific: line 122
When code_query returns stale or missing results
- Very specific: line 123
Before document-wiki or read-codebase-context on a fresh checkout when OpenEZ is in use and its index is missing or stale
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Setup OpenEZ
OpenEZ provides MCP tools for semantic code queries, graph traversal, and memory recall. This skill bootstraps it for a repository.
Prerequisites
- Bun 1.1+ — check with
bun --version. If missing, ask the user to authorize installation before continuing. Do not install silently. OpenEZ CLI — check with
openez --version. If missing, explain that a global CLI install is needed and ask the user to authorize it before running:npm install -g @openez-graph/cli
Process
Resume after client wiring: If a previous session completed client wiring, skip steps 1–4 and go to step 5. Re-index only if the index is missing or stale.
Initialize the workspace index. Before initialization, ensure
.gitignorecontains.openez/; append it only when missing and preserve existing content. Never untrack an existing.openez/path automatically; report it to the user instead. If.openez/does not exist, run:openez init .This creates a
.openez/directory with derived index data.Index the repository when needed:
openez index .Run this for initial setup or when the index is missing or stale. For large repositories, this may take a while. Report progress to the user and check the command result: a nonzero exit means indexing failed; do not report the index as created. A successful CLI run confirms that command completed, not that the MCP query works.
Record in
AGENTS.md:If
AGENTS.mdexists and does not mention OpenEZ, present the exact section below and wait for the user's approval before adding it:## Code intelligence Locate concepts with OpenEZ `code_query`, approximate filenames with FFF fuzzy file find, identifiers or literals with FFF grep (fallback: `rg`), and regex with `rg`. Expand callers and callees with OpenEZ `code_context` (1–2 hops); confirm string, route, config-key, and case variants with FFF multi-pattern grep (fallback: `rg`). Use OpenEZ `code_outline` before reading a large file. Search results are navigation; read current source as evidence. Query OpenEZ directly with the repository path; if unavailable, unindexed, or irrelevant, continue with FFF or `rg` and direct reads.If the user declines, leave
AGENTS.mdunchanged and report that the guidance was not added. IfAGENTS.mddoes not exist, skip this step;setup-codebaseowns its creation.Wire the agent client (optional; ask the user first):
Read
openez setup --helpto find supported clients. For a supported client, get approval before running:openez setup <supported-client>If the user's client is not listed, consult that client's official MCP configuration documentation (for example, Cursor). Do not invent a configuration snippet. Present any documented configuration change for approval, then apply the same restart-and-verify procedure below. If no supported configuration can be established, report that limitation and continue to step 5 without wiring.
Wiring configures the agent's MCP client to use OpenEZ. The user must restart their agent after this step for MCP tools to load. Do not run this without approval; it changes agent-specific configuration.
If the user approves and wiring is applied, stop and tell the user to restart the agent. Do not continue to step 5 in this session. Tell the user to invoke
setup-openezagain after restarting so the new session can verify the connection; an agent cannot restart its own session and continue here. If wiring is declined or skipped, continue to step 5 in this session.Verify the MCP connection:
If client wiring was approved and run, verify in a session after restart. When OpenEZ MCP tools are available in this session, call
code_querywith a simple query (e.g., "entry point" or "main function"). If the query returns results, the MCP server is connected and the index is working. If it fails or returns nothing:- Check that the MCP server is running.
- Re-index only if the index is missing or stale.
- If still failing, fall back to direct file reads and
rg.
If OpenEZ MCP tools are unavailable in this session, do not call
code_query. If wiring was declined or skipped, report that the client connection remains unconfigured. If wiring was approved and run, report that the MCP tools did not load after restart. In either case, report the MCP index query asindex unverified. If the CLI indexing command succeeded, report that separately as CLI indexing completed; if it failed or was not run, report the index as failed or unverified. Continue with direct file reads andrg.
When to re-index
- After significant code changes (new files, renamed modules, large diffs)
- When
code_queryreturns stale or missing results - Before
document-wikiorread-codebase-contexton a fresh checkout when OpenEZ is in use and its index is missing or stale
openez index .Re-indexing is incremental and safe to run repeatedly, but only re-index when one of these conditions applies.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

