openmelon: Agent for Claude Code

.github/agents/speckit.constitution.agent.md

speckit.constitution is an agent for Claude Code from eight-acres-lab/openmelon. It costs 21 tokens per session (1,126 once invoked), scanned A, original, Apache-2.0.

A project-governance helper for creating or updating a constitution: a document that records a project's guiding principles and rules.

In plain words
What is it for?
Use it to fill in a constitution template, apply provided principles, and update dependent project documents.
Why use it?
It keeps the constitution consistent with the project's related templates and files when principles change.

Agent for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

This is eight-acres-lab/openmelon's own configuration. It tells Claude Code how to work on openmelon 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 openmelon configures →

Reuse

Borrowing it

Nothing to install: this file belongs to eight-acres-lab/openmelon. 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/eight-acres-lab/openmelon/main/.github/agents/speckit.constitution.agent.md
Clone the repo
git clone --depth 1 https://github.com/eight-acres-lab/openmelon

Made for: Claude Code.

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 speckit.constitution

README.md
[![agentmods](https://agentmods.dev/badge/agents/eight-acres-lab/openmelon/speckit.constitution/github.svg)](https://agentmods.dev/agents/eight-acres-lab/openmelon/speckit.constitution)
Your own site
<a href="https://agentmods.dev/agents/eight-acres-lab/openmelon/speckit.constitution"><img src="https://agentmods.dev/badge/agents/eight-acres-lab/openmelon/speckit.constitution/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 speckit.constitution

Your own site · 80×15
<a href="https://agentmods.dev/agents/eight-acres-lab/openmelon/speckit.constitution"><img src="https://agentmods.dev/badge/agents/eight-acres-lab/openmelon/speckit.constitution.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,126 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.00021 $0.01126
Opus 5.5 $0.00008 $0.00450
Sonnet 5.5 $0.00004 $0.00225
Haiku 4.5 $0.00002 $0.00113

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

Security

Grade A, and why

speckit.constitution 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.

Origin

Copies of this mod

5 near-identical copies found in the catalogue:

.github/agents/speckit.constitution.agent.md · 85 lines

How it starts

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

User Input

$ARGUMENTS

You MUST consider the user input before proceeding (if not empty).

Outline

You are updating the project constitution at .specify/memory/constitution.md. This file is a TEMPLATE containing placeholder tokens in square brackets (e.g. [PROJECT_NAME], [PRINCIPLE_1_NAME]). Your job is to (a) collect/derive concrete values, (b) fill the template precisely, and (c) propagate any amendments across dependent artifacts.

Note: If .specify/memory/constitution.md does not exist yet, it should have been initialized from .specify/templates/constitution-template.md during project setup. If it's missing, copy the template first.

Follow this execution flow:

  1. Load the existing constitution at .specify/memory/constitution.md.

    • Identify every placeholder token of the form [ALL_CAPS_IDENTIFIER]. IMPORTANT: The user might require less or more principles than the ones used in the template. If a number is specified, respect that - follow the general template. You will update the doc accordingly.
  2. Collect/derive values for placeholders:

    • If user input (conversation) supplies a value, use it.
    • Otherwise infer from existing repo context (README, docs, prior constitution versions if embedded).
    • For governance dates: RATIFICATION_DATE is the original adoption date (if unknown ask or mark TODO), LAST_AMENDED_DATE is today if changes are made, otherwise keep previous.
    • CONSTITUTION_VERSION must increment according to semantic versioning rules:
      • MAJOR: Backward incompatible governance/principle removals or redefinitions.
      • MINOR: New principle/section added or materially expanded guidance.
      • PATCH: Clarifications, wording, typo fixes, non-semantic refinements.
    • If version bump type ambiguous, propose reasoning before finalizing.
  3. Draft the updated constitution content:

    • Replace every placeholder with concrete text (no bracketed tokens left except intentionally retained template slots that the project has chosen not to define yet—explicitly justify any left).
    • Preserve heading hierarchy and comments can be removed once replaced unless they still add clarifying guidance.
    • Ensure each Principle section: succinct name line, paragraph (or bullet list) capturing non‑negotiable rules, explicit rationale if not obvious.
    • Ensure Governance section lists amendment procedure, versioning policy, and compliance review expectations.

Read the full file on GitHub · 85 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 First seen · 85 lines · 21 tokens per session scan A 89e14df67db5

Subscribe to this mod's changes

speckit.constitution is an agent published in the GitHub repository eight-acres-lab/openmelon (89 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 21 tokens to every session and 1,126 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-08-30.

Related

Other agents, from other repositories

OP

OpenLayer Painter — a professional digital artist who makes images through the real OpenLayer panel in Photoshop (via the Agent Bridge), judges every result with an art director's eye, and reports honest product feedback on OpenLayer. Use when asked to "have OP paint/make/design X", to produce hero images, promo art…

MehranMarxian/OpenLayer · 87 tokens

PAM

Promotion & Advertising Manager for OpenLayer. Finds the target audience, plans and drafts promotional posts for the forums and communities where Photoshop + AI users actually are, and improves the project's discoverability — README, GitHub topics, landing page, meta tags, keywords. Use when asking "where should we…

MehranMarxian/OpenLayer · 105 tokens

WFL

Researches new ComfyUI models, workflows, and custom nodes, and reports which ones are worth adding to OpenLayer. Use when asking "what's new that we should support", evaluating a specific model or node pack for inclusion, checking whether a preset has been superseded, or before planning a release that adds generation…

MehranMarxian/OpenLayer · 78 tokens

reviewer

Independent quality gate authority. Conducts integrity enforcement, code quality review, and spec compliance verification in a single pass. Read-only — produces verdicts, never code. Its FAIL cannot be overridden by any agent; only the user can override.

irahardianto/awesome-agv · 51 tokens

integration-prober

External service integration verifier. Validates that the application connects to real services — not mocks, stubs, or deprecated endpoints. Checks database connectivity, API compatibility, and credential configuration. Read-only — produces findings, never code.

irahardianto/awesome-agv · 49 tokens

designer

Ornamental design specialist for historical and modern style analysis, colorblind-accessible palettes, and AI-assisted image generation using Z-Image.

pjt222/agent-almanac · 29 tokens