arc0btc/arc-starter/arc-memory

Claude Code and agent skill by arc0btc/arc-starter

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Pattern libraries and decision frameworks — loads memory/patterns.md + memory/frameworks.md to change how problems are approached; also provides structured write/read CLI for MEMORY.md (ASMR v1 format)

Install

npx vskill@latest install arc0btc/arc-starter/arc-memory

SKILL.md

The same SKILL.md was published earlier as arc0btc/arc-starter/arc-memory.

arc-memory

Loads Arc's accumulated pattern library and decision frameworks into dispatch context. The distinction from MEMORY.md: these files change how problems are approached, not just what is remembered.

  • memory/patterns.md — Operational patterns extracted from past cycles. Validated, reusable, actionable.
  • memory/frameworks.md — Decision logic for recurring situation types (priority assignment, fleet routing, failure triage, decomposition, cost optimization).
  • memory/MEMORY.md — Structured operational memory in ASMR v1 format (6 categories, temporal tags, supersession).

When to Load

Load this skill when the task involves:

  • Meta-work: retrospectives, self-audits, pattern extraction
  • Strategic planning: roadmap, architecture decisions, v6 work
  • Failure triage: diagnosed a systemic issue, not just a one-off
  • Cost analysis: daily/weekly cost review tasks
  • Dispatch evaluation: reviewing Arc's own behavior
  • Any task tagged with arc-purpose-eval or arc-dispatch-eval

Do NOT load for routine domain tasks (DeFi, X posting, PR reviews) — the frameworks add context overhead without benefit.

MEMORY.md Format (ASMR v1)

Six categories, each with inline temporal tags:

CategoryTagPurposeRetention
[A] Operational State[STATE: DATE]Active flags, incidents, live conditions7 days unless refreshed
[F] Fleet[UPDATED: DATE]Agent roster, routing, capabilitiesNo expiry
[S] Services[UPDATED: DATE] [SKILLS: ...]External integrations, API endpointsUntil superseded
[T] Temporal Events[EVENT: TIMESTAMP]Append-only incident/resolution log90 days, then archive
[P] Patterns[PATTERN: validated]Reusable operational patterns (≥2 cycles)Permanent until retired
[L] Learnings[LEARNING: DATE]Working notes, post-mortems30 days, then promote/archive

Additional tags: [EXPIRES: DATE], [SUPERSEDED BY: slug date], [SUPERSEDES: slug], [FOLLOWS: event-id], [RETIRED: date reason].

CLI Commands

bash
# Write a structured entry to MEMORY.md (auto-supersedes same slug if exists)
arc skills run --name arc-memory -- write-entry \
--category A|F|S|T|P|L \
--slug my-slug \
--body "Entry text here" \
[--title "Optional title"] \
[--skills skill1,skill2] \
[--expires YYYY-MM-DD] \
[--follows prior-event-slug]
# List all entries in MEMORY.md (with their slugs and tags)
arc skills run --name arc-memory -- list-entries [--category A|F|S|T|P|L]
# Mark an entry as superseded by a newer one
arc skills run --name arc-memory -- supersede --slug OLD_SLUG --new-slug NEW_SLUG
# Add a new pattern to patterns.md (under the specified section)
arc skills run --name arc-memory -- add-pattern --section "Sensor Patterns" --pattern "TEXT"
# List all section headers in patterns.md
arc skills run --name arc-memory -- list-sections
# Run a retrospective: extract patterns from completed tasks in the last N days
arc skills run --name arc-memory -- retrospective [--days 7] [--dry-run]
# Show a specific decision framework by name
arc skills run --name arc-memory -- framework [--name "Failure Triage"]
# Read-only memory health audit: line counts, orphaned entries, broken [[links]], stale [STATE:] tags
arc skills run --name arc-memory -- health
# Exits 0=OK, 0=WARN issues, 1=FAIL issues (e.g. recent.log over threshold)
# Snapshot current MEMORY.md to memory/archive/ before consolidation (archive-before-consolidate)
arc skills run --name arc-memory -- archive

Supersession Logic

When write-entry is called with a --slug that already exists:

  1. The existing entry's header gets [SUPERSEDED BY: slug DATE] appended
  2. The new entry gets [SUPERSEDES: slug] appended
  3. Both entries remain in MEMORY.md until the next consolidation task removes superseded ones

Use supersede to manually mark an entry without creating a new one.

Sensor Behavior

Weekly retrospective sensor (interval: 10080 min / 7 days):

  • Queries completed tasks from the past 7 days
  • Creates a P7 (Sonnet) pattern extraction task
  • Task briefing includes: top failed tasks, high-cost cycles, recurring subjects
  • Dispatched session reads cycles, extracts reusable patterns, writes to patterns.md

Pattern Quality Bar

Before adding to patterns.md, verify:

  1. Reusable — applies to ≥3 future task types
  2. Actionable — changes what you DO, not just what you know
  3. Validated — observed in ≥2 distinct task cycles
  4. Deduplicated — check existing patterns.md entries before writing
  5. Specific — names context (sensor, integration, fleet), not just a principle

Frameworks Reference

Five decision frameworks in memory/frameworks.md:

  1. Task Priority Assignment — P1 vs P5 vs P8 decision tree
  2. Failure Triage — 403s, rate limits, service outages, code bugs
  3. Task Decomposition — when to split vs keep atomic
  4. Memory / Pattern Extraction — what goes where
  5. Cost / Model Optimization — detecting over-spend

Read memory/frameworks.md directly for the full decision trees.

Checklist

  • [x] skills/arc-memory/SKILL.md exists with valid frontmatter
  • [x] Frontmatter name matches directory name (arc-memory)
  • [x] SKILL.md is under 2000 tokens
  • [x] sensor.ts exports async default function returning Promise<string>
  • [x] Sensor uses claimSensorRun() with 10080-minute interval (weekly)
  • [x] Sensor deduplicates via pendingTaskExistsForSource()
  • [x] cli.ts exports default CLI with write-entry, list-entries, supersede, add-pattern, list-sections, retrospective, framework commands

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/arc0btc/arc-starter/arc-memory/badge)](https://verified-skill.com/skills/arc0btc/arc-starter/arc-memory)

Something wrong with this skill or its page? Tell us.