Who it is forA developer who runs many agent tasks on one project and does not want to stop and maintain the index by hand.
The problemCode changes make the index stale, and manual upkeep is easy to skip, so later agents read outdated descriptions.
The outcomeAfter each verified change, the affected entries are updated and the index returns to an aligned state.
What you need first
- A verified AOCI-CODE release package for your operating system and CPU, or a checkout of the canonical source repository (source builds also need the Go toolchain declared by go.mod and make)
- A supported MCP host such as Codex, Claude Code, Cursor, or OpenCode
- Normal read and write access to the target repository
- For database indexing: a PostgreSQL or MySQL 5.7.6+ database (or openGauss 6.0.5 with constraints) and a connection-string environment variable set in the host environment
Steps
- Complete the first index build so every managed object has an entry.
- Ask the agent to make a change as usual, with no separate index instruction.
- Let the MCP server detect the changed files and let the agent update the affected entries after tests pass.
- Review the Git diff of aoci.code.txt with the code diff before committing.
Prompt for your agent
In the repo <project-path>, make the requested change, run the tests, then update the AOCI entries for every changed managed file so the index is aligned. Report the list of updated entries and confirm the index is aligned.
Caveat. The README describes maintenance as automatic, but the agent still writes the entries, so the diff should be reviewed for accuracy.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Disclaimer
Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page