a2a-brain-meshlearn-verify

a2a-brain-meshlearn-verify is a skill for Claude Code, Codex from openamer/openamer. It costs 62 tokens per session (2,717 once invoked), scanned A, original, Apache-2.0.

A verification guide for collecting agent sessions and applying learned information to a shared memory file.

In plain words
What is it for?
Use it with scheduled learning jobs to run collection, apply new insights, and verify that the expected memory artifacts changed.
Why use it?
It catches silent failures where commands report success but write nothing, or where one part of the process reads a different file from the one being updated.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it with scheduled learning jobs to run collection, apply new insights, and verify that the expected memory artifacts changed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openamer/openamer/a2a-brain-meshlearn-verify
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.

Any agent
npx skills add openamer/openamer --skill a2a-brain-meshlearn-verify
Clone the repo
git clone --depth 1 https://github.com/openamer/openamer

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 a2a-brain-meshlearn-verify

README.md
[![agentmods](https://agentmods.dev/badge/skills/openamer/openamer/a2a-brain-meshlearn-verify/github.svg)](https://agentmods.dev/skills/openamer/openamer/a2a-brain-meshlearn-verify)
Your own site
<a href="https://agentmods.dev/skills/openamer/openamer/a2a-brain-meshlearn-verify"><img src="https://agentmods.dev/badge/skills/openamer/openamer/a2a-brain-meshlearn-verify/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 a2a-brain-meshlearn-verify

Your own site · 80×15
<a href="https://agentmods.dev/skills/openamer/openamer/a2a-brain-meshlearn-verify"><img src="https://agentmods.dev/badge/skills/openamer/openamer/a2a-brain-meshlearn-verify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,717 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.00062 $0.02717
Opus 5.5 $0.00025 $0.01087
Sonnet 5.5 $0.00012 $0.00543
Haiku 4.5 $0.00006 $0.00272

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

Security

Grade A, and why

a2a-brain-meshlearn-verify 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 4d 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.

skills/a2a-brain-meshlearn-verify/SKILL.md · 186 lines

How it starts

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

A2A brain collect + meshlearn auto — run AND verify

Two known failure modes make these commands print SUCCESS while doing nothing. Never trust the exit code or the "Learned+adopted" line. Always verify artifacts.

Known failure modes (verified 2026-09-18)

1. Silent no-op in meshlearn auto (title de-dupe collision)

selflearn.auto_learn() falls back to the fixed title "Learned from task" when --title is not given. meshlearn.adopt() de-dupes with:

if insight.title in cur:   # openamer_cli/a2a/meshlearn.py:96
    return True            # reports success, writes NOTHING

If the memory file already contains that literal title (it does, from the #mesh:a2a: Learned from task — ... line), every subsequent untitled auto run is swallowed as a false duplicate. Exit 0, "sig: True", no write.

Fix: always pass a unique --title. Verify: mtime of the memory file must change, and the new line must appear.

2. Path mismatch between writer and reader

  • meshlearn auto defaults to ~/.openamer/MEMORY-official-mesh.md (hardcoded via pathlib.Path.home(), subcommands/a2a.py:_cmd_meshlearn).
  • brain collect reads $OPENAMER_HOME/MEMORY-official-mesh.md (defaults to C:/Users/damir/AppData/Local/openamer-laptop/...).

With OPENAMER_HOME set (as here), the default writer file and the default reader file are different files. An insight adopted into ~/.openamer never reaches the collected dataset.

Fix: pass --memory explicitly to both, pointing at the same file — preferably the one brain collect reads, so insights end up in the dataset.

3. Envelope.verify() conflates freshness with authenticity → "invalid signature" lie

(verified 2026-09-25 against the live public mesh directory)

core.Envelope.verify() is AUTH and FRESH:

@dataclass
class Envelope:
    ...

def verify(self, sender_public_key_hex: str) -> bool:
    return self._verify_signature(sender_public_key_hex) and self._fresh()

Read the full file on GitHub · 186 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. 4d ago First seen · 186 lines · 62 tokens per session scan A e4585de74664

Subscribe to this mod's changes

a2a-brain-meshlearn-verify is a skill published in the GitHub repository openamer/openamer (10 stars, last pushed today), licensed Apache-2.0. It adds 62 tokens to every session and 2,717 once invoked, about $0.0002 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-11-25.

Related

a2a-brain-meshlearn-verify compared with skills from other repositories

a2a-brain-meshlearn-verify next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
a2a-brain-meshlearn-verifyopenamer/openamerSkill10todayApache-2.0A62Claude Code, Codex
memory-literary-analysisbasicmachines-co/basic-memorySkill4.8ktodayAGPL-3.0A38Claude Code, Codex
bm-setupbasicmachines-co/basic-memorySkill4.8ktodayAGPL-3.0A69Claude Code
memory-notesbasicmachines-co/basic-memorySkill4.8ktodayAGPL-3.0A38Claude Code, Codex
memory-capturebasicmachines-co/basic-memorySkill4.8ktodayAGPL-3.0A46Claude Code, Codex
memory-ingestbasicmachines-co/basic-memorySkill4.8ktodayAGPL-3.0A35Claude Code, Codex
memory-onboardingbasicmachines-co/basic-memorySkill4.8ktodayAGPL-3.0A42Claude Code, Codex