Who it is forA developer or DevOps engineer maintaining a repo's knowledge/ folder who wants bad memory caught before it merges.
The problemKnowledge notes drift out of sync, links break, and orphaned concepts pile up, so agents read wrong context.
The outcomeA pass or fail result for graph integrity and a quality score for the bundle, usable in a pre-commit or CI step.
What you need first
- A Git repository where the agent works
- A Go toolchain and make, since the README builds the tool with make build
- Clone access to github.com/okf-memory/okf-agent-memory
Steps
- Clone the repository and run
make buildto create bin/okf. - Run
./bin/okf validate knowledge --strict --driftto check conformance, graph connectivity, and description drift. - Run
./bin/okf validate knowledge --scorecardto see the three-pillar breakdown and grade. - Run
./bin/okf validate knowledge --scorecard --jsonto get machine-readable output for a pipeline. - Fix any reported broken links, orphans, or drift, then re-run the strict validation before committing.
Prompt for your agent
Use the okf-memory/okf-agent-memory repo to validate the knowledge bundle at <path-to-repo>/knowledge. Run the strict and drift validation, then the scorecard, and report the grade and every broken link or orphan. Verify that the command exit status is 0 before reporting the bundle as clean.
Caveat. The README excerpt cuts off the exact CI gating example, so confirm the threshold flag in the full README before wiring it into a pipeline.
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