Project-AMBER: Skill for Claude Code

.github/skills/engram-connect/SKILL.md

engram-connect is a skill for Claude Code, Codex from JJHbrams/Project-AMBER. It costs 22 tokens per session (692 once invoked), scanned A, original, MIT.

A local diagnostic tool for recovering a Codex connection to Engram, an MCP service that provides tools to Codex. It checks the configured connection and can make limited read-only searches or note reads.

In plain words
What is it for?
Use it to inspect the MCP configuration, test a loopback connection, list available tools, search Engram notes, or read a specific note.
Why use it?
It helps explain why Engram tools are missing or unreachable without changing Codex configuration, credentials, hooks, or trust settings.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

This is JJHbrams/Project-AMBER's own configuration. It tells Claude Code and Codex how to work on Project-AMBER 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 Project-AMBER configures →

Reuse

Borrowing it

Nothing to install: this file belongs to JJHbrams/Project-AMBER. 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/JJHbrams/Project-AMBER/master/.github/skills/engram-connect/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/JJHbrams/Project-AMBER

Made for: Claude Code, Codex.

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 engram-connect

README.md
[![agentmods](https://agentmods.dev/badge/skills/jjhbrams/project-amber/engram-connect/github.svg)](https://agentmods.dev/skills/jjhbrams/project-amber/engram-connect)
Your own site
<a href="https://agentmods.dev/skills/jjhbrams/project-amber/engram-connect"><img src="https://agentmods.dev/badge/skills/jjhbrams/project-amber/engram-connect/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 engram-connect

Your own site · 80×15
<a href="https://agentmods.dev/skills/jjhbrams/project-amber/engram-connect"><img src="https://agentmods.dev/badge/skills/jjhbrams/project-amber/engram-connect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 692 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.00022 $0.00692
Opus 5.5 $0.00009 $0.00277
Sonnet 5.5 $0.00004 $0.00138
Haiku 4.5 $0.00002 $0.00069

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

Security

Grade A, and why

engram-connect 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 14d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/engram-connect.mjs, tests/engram-connect.test.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.github/skills/engram-connect/SKILL.md · 58 lines

How it starts

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

Engram Connect

Use this only when Codex's Engram MCP tools are absent or connection recovery is requested. First inspect the configured Codex MCP entry and report what is missing. Never alter provider configuration or hook trust as part of a diagnosis.

For a direct, read-only MCP recovery probe, explicitly identify the Codex root and run node scripts/engram-connect.mjs probe --root <Codex-root>. It reads only that root's config.toml, accepts an unauthenticated http://127.0.0.1 or http://localhost Engram URL, initializes Streamable HTTP MCP, and lists tools. It never changes config, hooks, trust, headers, or provider state.

The only data calls are allowlisted and bounded:

  • node scripts/engram-connect.mjs search --root <Codex-root> --query <keywords>
  • node scripts/engram-connect.mjs read-note --root <Codex-root> --id <note-id>

The helper rejects remote URLs, HTTPS, authorization/header configuration, unknown tools, oversized config/output, and malformed MCP responses. It sends no conversation content, credentials, raw memory, or arbitrary tool payloads.

If the service is reachable but tools remain unavailable, try the explicit live reconnect below first when an existing managed daemon and its target thread are available. Start a new Codex session only when that bounded reconnect is unsupported or there is no such existing daemon/thread. Never add an automatic retry loop, watchdog, or repeated reload polling. Use engram-hook-trust separately for explicit /hooks review or a user-requested restore; this skill never approves hooks.

Explicit live Codex reconnect

When the running Codex session itself is missing Engram tools, use the bounded reconnect command below. It attaches only to the already-running daemon through its control socket; it never starts an app-server, thread, or conversation, and never writes Codex configuration, hook trust, or approvals.

node scripts/engram-connect.mjs reconnect --root <CODEX_HOME> --thread-id <CODEX_THREAD_ID> --codex-executable <path-to-codex.exe>

Read the full file on GitHub · 58 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 14d ago Changed · +28 lines 31c922d1516b
  2. 1mo ago First seen · 30 lines · 22 tokens per session scan A 6a779f5ecf91

Subscribe to this mod's changes

engram-connect is a skill published in the GitHub repository JJHbrams/Project-AMBER (2 stars, last pushed 14d ago), licensed MIT. It adds 22 tokens to every session and 692 once invoked, about $0.0001 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-09-13.