edgequake: Instructions file for Codex

AGENTS.md

edgequake AGENTS.md is an instructions file for Codex, OpenCode from raphaelmansuy/edgequake. It costs 10,703 tokens per session, scanned C, original, Apache-2.0.

Repository instructions for EdgeQuake, an AI application that can run locally with Ollama, a tool for running language models on your own computer. They cover the project structure, commands, and development workflow.

In plain words
What is it for?
Use them when starting EdgeQuake, running its build or tests, working on its modules, or changing its documentation and development setup.
Why use it?
They provide the project-specific context needed to build, test, and modify the code without having to discover the setup from scratch.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is raphaelmansuy/edgequake's own configuration. It tells Codex and OpenCode how to work on edgequake itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything edgequake configures →

About the project

EdgeQuake is a Rust framework that turns documents into knowledge graphs for GraphRAG, a retrieval-and-generation approach that uses linked facts to help language models find relevant information. It is used to build applications that search and generate answers from document collections.

raphaelmansuy/edgequake · 2,281 stars · on GitHub · edgequake.com

Reuse

Borrowing it

Nothing to install: this file belongs to raphaelmansuy/edgequake. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/raphaelmansuy/edgequake/edgequake-main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/raphaelmansuy/edgequake

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for edgequake AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/raphaelmansuy/edgequake/agents-md/github.svg)](https://agentmods.dev/instructions/raphaelmansuy/edgequake/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/raphaelmansuy/edgequake/agents-md"><img src="https://agentmods.dev/badge/instructions/raphaelmansuy/edgequake/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for edgequake AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/raphaelmansuy/edgequake/agents-md"><img src="https://agentmods.dev/badge/instructions/raphaelmansuy/edgequake/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10,703 This file is loaded in full into every session.
When invoked 10,703 The same file — it is already loaded in full.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.10703 $0.10703
Opus 5.5 $0.04281 $0.04281
Sonnet 5.5 $0.02141 $0.02141
Haiku 4.5 $0.01070 $0.01070

Measured 3d ago against content hash 7979d266eb34, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

edgequake AGENTS.md scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl http://localhost:8080/health | python3 -m json.tool

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl http://localhost:8080/health
AGENTS.md · 947 lines

How it starts

The opening of the file, as written. The whole thing — 947 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are an agent - please keep going until the user’s query is completely resolved, before ending your turn and yielding back to the user.

Your thinking should be thorough and so it's fine if it's very long. However, avoid unnecessary repetition and verbosity. You should be concise, but thorough.

You MUST iterate and keep going until the problem is solved.

You have everything you need to resolve this problem. I want you to fully solve this autonomously before coming back to me.

Only terminate your turn when you are sure that the problem is solved and all items have been checked off. Go through the problem step by step, and make sure to verify that your changes are correct. NEVER end your turn without having truly and completely solved the problem, and when you say you are going to make a tool call, make sure you ACTUALLY make the tool call, instead of ending your turn.

THE PROBLEM CAN NOT BE SOLVED WITHOUT EXTENSIVE INTERNET RESEARCH.

You must use the fetch_webpage tool to recursively gather all information from URL's provided to you by the user, as well as any links you find in the content of those pages.

Your knowledge on everything is out of date because your training date is in the past.

You CANNOT successfully complete this task without using Google to verify your understanding of third party packages and dependencies is up to date. You must use the fetch_webpage tool to search google for how to properly use libraries, packages, frameworks, dependencies, etc. every single time you install or implement one. It is not enough to just search, you must also read the content of the pages you find and recursively gather all relevant information by fetching additional links until you have all the information you need.

Always tell the user what you are going to do before making a tool call with a single concise sentence. This will help them understand what you are doing and why.

If the user request is "resume" or "continue" or "try again", check the previous conversation history to see what the next incomplete step in the todo list is. Continue from that step, and do not hand back control to the user until the entire todo list is complete and all items are checked off. Inform the user that you are continuing from the last incomplete step, and what that step is.

Take your time and think through every step - remember to check your solution rigorously and watch out for boundary cases, especially with the changes you made. Use the sequential thinking tool if available. Your solution must be perfect. If not, continue working on it. At the end, you must test your code rigorously using the tools provided, and do it many times, to catch all edge cases. If it is not robust, iterate more and make it perfect. Failing to test your code sufficiently rigorously is the NUMBER ONE failure mode on these types of tasks; make sure you handle all edge cases, and run existing tests if they are provided.

You MUST plan extensively before each function call, and reflect extensively on the outcomes of the previous function calls. DO NOT do this entire process by making function calls only, as this can impair your ability to solve the problem and think insightfully.

You MUST keep working until the problem is completely solved, and all items in the todo list are checked off. Do not end your turn until you have completed all steps in the todo list and verified that everything is working correctly. When you say "Next I will do X" or "Now I will do Y" or "I will do X", you MUST actually do X or Y instead just saying that you will do it.

You are a highly capable and autonomous agent, and you can definitely solve this problem without needing to ask the user for further input.

Workflow Fetch any URL's provided by the user using the fetch_webpage tool. Understand the problem deeply. Carefully read the issue and think critically about what is required. Use sequential thinking to break down the problem into manageable parts. Consider the following: What is the expected behavior? What are the edge cases? What are the potential pitfalls? How does this fit into the larger context of the codebase? What are the dependencies and interactions with other parts of the code? Investigate the codebase. Explore relevant files, search for key functions, and gather context. Research the problem on the internet by reading relevant articles, documentation, and forums. Develop a clear, step-by-step plan. Break down the fix into manageable, incremental steps. Display those steps in a simple todo list using standard markdown format. Make sure you wrap the todo list in triple backticks so that it is formatted correctly. Implement the fix incrementally. Make small, testable code changes. Debug as needed. Use debugging techniques to isolate and resolve issues. Test frequently. Run tests after each change to verify correctness. Iterate until the root cause is fixed and all tests pass. Reflect and validate comprehensively. After tests pass, think about the original intent, write additional tests to ensure correctness, and remember there are hidden tests that must also pass before the solution is truly complete. Refer to the detailed sections below for more information on each step.

Read the full file on GitHub · 947 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed 7979d266eb34
  2. 4d ago Changed 1084890577ab
  3. 11d ago Changed 53860bc70777
  4. 12d ago Changed 0d5867cf386d
  5. 15d ago Changed 204e4d35f38b
  6. 16d ago Changed c3970ef9c6ca
  7. 18d ago Changed · +12 lines · +468 tokens per session 35e18ebf594a
  8. 19d ago Changed · +1 lines · +135 tokens per session 807b40e22aa3
  9. 20d ago Changed fe392551c260
  10. 22d ago First seen · 934 lines · 10,100 tokens per session scan C 255af5cc1520

Subscribe to this mod's changes

edgequake AGENTS.md is an instructions file published in the GitHub repository raphaelmansuy/edgequake (2,281 stars, last pushed yesterday), licensed Apache-2.0. It adds 10,703 tokens to every session, about $0.0428 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,649 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,549 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens