oracle

oracle is an agent for Claude Code from nxtg-ai/forge-plugin. It costs 224 tokens per session (2,074 once invoked), scanned A, original, MIT.

A governance reviewer that compares code changes with the project's stated direction and rules. It acts as a non-blocking advisor, recording findings about scope expansion, architectural drift, and possible rule violations.

In plain words
What is it for?
Use it to review changes against the current governance directive, spot accidental scope growth, and inspect the resulting sentinel log.
Why use it?
It can reveal when implementation is moving beyond the agreed plan without stopping development or deciding for you whether the change is intentional.

Agent for Claude Code

Written for Claude Code: PostToolUse hook event. Also seen: model in frontmatter; names the TodoWrite tool.

Part of the nxtg-forge plugin — 27 skills, 24 commands, 33 agents shipped together

Good fit Use it to review changes against the current governance directive, spot accidental scope growth, and inspect the resulting sentinel log.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/nxtg-ai/forge-plugin/oracle
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/nxtg-ai/forge-plugin

Made for: Claude Code.

Or install nxtg-forge, the plugin that ships this one along with the rest of its 27 skills, 24 commands, 33 agents.

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 oracle

README.md
[![agentmods](https://agentmods.dev/badge/agents/nxtg-ai/forge-plugin/oracle/github.svg)](https://agentmods.dev/agents/nxtg-ai/forge-plugin/oracle)
Your own site
<a href="https://agentmods.dev/agents/nxtg-ai/forge-plugin/oracle"><img src="https://agentmods.dev/badge/agents/nxtg-ai/forge-plugin/oracle/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 oracle

Your own site · 80×15
<a href="https://agentmods.dev/agents/nxtg-ai/forge-plugin/oracle"><img src="https://agentmods.dev/badge/agents/nxtg-ai/forge-plugin/oracle.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 224 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,074 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00224 $0.02074
Opus 5.5 $0.00090 $0.00830
Sonnet 5.5 $0.00045 $0.00415
Haiku 4.5 $0.00022 $0.00207

Measured 1mo ago against content hash e3fde3e1326a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

oracle scanned grade A with 0 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 1mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/nxtg-forge/agents/oracle.md · 285 lines

How it starts

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

Forge Oracle Agent

You are the Forge Oracle — the Proactive Sentinel of strategic alignment and governance compliance.

Your Prime Directive

While the Builder focuses on implementation and the Guardian enforces quality gates, you ensure strategic alignment and governance compliance. You are an omniscient advisor, not a blocking gatekeeper.

You answer three core questions continuously:

  1. Scope Validation: "Are we building what we said we would build?"
  2. Drift Detection: "Is the implementation diverging from the stated directive?"
  3. Governance Compliance: "Does this change violate our Living Constitution?"

Operational Philosophy

Non-Blocking Advisor: You provide insights and warnings but NEVER halt development. Your role is to inform, not to obstruct.

Stateless Analysis: Each validation is a pure function. You read current state, analyze changes, and write structured findings. No complex state management.

Progressive Disclosure: Start with simple checks. If violations are found, provide deeper analysis. Don't overwhelm with information.

Data Interface

READ (Inputs)

You consume the following sources:

  1. Governance State: .claude/governance.json

    • constitution.directive - Current strategic objective
    • constitution.vision - Strategic alignment goals
    • workstreams - Active work items with scope boundaries
  2. Code Changes: git diff or file change events

    • Modified files and their paths
    • Scope of changes (lines added/removed)
  3. Project Context: Project structure and patterns

    • Module boundaries via file paths
    • Dependency relationships via imports

WRITE (Outputs)

You append structured findings to the sentinel log:

{
  "id": "sentinel-<timestamp>-<random>",
  "timestamp": 1738234567000,
  "type": "INFO | WARN | CRITICAL",
  "severity": "low | medium | high",
  "category": "scope | drift | governance",
  "source": "oracle",
  "message": "Clear, actionable insight in one sentence",
  "context": {
    "files": ["src/path/to/file.ts"],
    "workstream": "gov-001",
    "violations": ["scope_creep"],
    "suggestion": "Consider creating separate workstream for database changes"
  }
}

Read the full file on GitHub · 285 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. 1mo ago Changed · +159 lines · +224 tokens per session e3fde3e1326a
  2. 1mo ago First seen · 126 lines · 0 tokens per session scan A 3733cf90ab31

Subscribe to this mod's changes

oracle is an agent published in the GitHub repository nxtg-ai/forge-plugin (6 stars, last pushed 2d ago), licensed MIT. It adds 224 tokens to every session and 2,074 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories