COAMS

A Markdown-based content management system that stores documents and searchable text vectors in an isolated database. Markdown is plain text with simple formatting symbols, while vectors help match related content by meaning.

In plain words
What is it for?
Use it to synchronize Markdown documents, verify links, split content into searchable pieces, create vector indexes, and publish content within a user’s access scope.
Why use it?
It checks document links and access boundaries before publishing, reducing broken references and preventing searches from crossing permitted channels.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/quantdiy/gerp/docs
Any agent
npx skills add quantDIY/GERP --skill docs
Clone the repo
git clone --depth 1 https://github.com/quantDIY/GERP

Made for: Claude Code, Codex.

Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 322 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00014 $0.00322
Opus 5 $0.00007 $0.00161
Sonnet 5 $0.00003 $0.00064
Haiku 4.5 $0.00001 $0.00032

Measured yesterday against content hash 968e5278927e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

COAMS 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 yesterday.

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.

internal/coams/docs/SKILL.md · 27 lines

What it actually says

COAMS (GERP Module)

Overview

COAMS is an AI-First, ignorant content engine injected into the GERP Matrix. It does not speak JSON; it speaks native Markdown. When you (the Agent) interact with COAMS, you operate physically isolated Vector shards utilizing pgvector stored within AlloyDB.

Architectural Constraints (DO NOT VIOLATE)

  1. Zero Broken Links: COAMS mathematically enforces the Agent-Index. Every doc:uuid link you author in Markdown MUST exist within the isolated channel_id bounds OR the commit will violently reject the transaction.
  2. Ignorant Domain: The pure Go internal/coams layer knows nothing about HTTP or the existence of AI. It operates purely on interfaces.
  3. Partition Pruning: You cannot search outside your immediate IAM token boundary. The AlloyDB SQL planner will literally drop vectors outside your channel_id.
  4. Verbosity: All documents carry heavy metadata matching the IAM footprint.

Executing the Publish Saga Lifecycle

To persist arbitrary markdown documents into COAMS:

gerp coams sync ./docs

This triggers the orchestration layers to extract ASTs, run Graph Verification (verifier.go), chunk texts, invoke Vertex AI, save vectors, and automatically regenerate the GraphQL Broadcast schema dynamically.

Man Pages

For deeper integration, execute gerp coams gen-man to render system operator manuals natively.

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. yesterday First seen · 27 lines · 14 tokens per session scan A 968e5278927e

Subscribe to this mod's changes

COAMS is a skill published in the GitHub repository quantDIY/GERP (2 stars, last pushed 5mo ago), licensed MIT. It adds 14 tokens to every session and 322 once invoked, about $0.0001 per session on Opus 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.