claude

foundry-core

Kernel: governed memory, token economy, I/O contracts, orchestration, guard hooks and the Foundry MCP server. Required by every other Foundry plugin.

0 on GitHubby Federico Calòv0.2.0Apache-2.0updated 2 months agocore
/

Plugin foundry-core from marketplace foundry in fedcal/foundry. Commands read from the repo's manifest — 1 month ago.

This plugin runs code on your machine — its hooks fire automatically on events like tool use and it starts local MCP servers. The exact commands are listed below; read them before installing.

What it installs

Skills (8)

  • audit-agent-surface

    Audit the coding agent's own configuration as an attack surface — permission rules and mode, every hook command and the writability of the script it executes, MCP servers and what they expose, installed plugins and marketplace provenance, and credentials reachable from any of them. Treats settings.j

  • contracts

    Work with Foundry I/O contracts — validate an artifact, choose the right schema for a handoff, or add a new contract version. Use when writing to the blackboard, when a contract validation error appears, or when designing a new agent's output.

  • foundry-init

    Bootstrap Foundry in a project — create the .foundry state directory, wire settings and CLAUDE.md, pick a profile, and seed memory from what already exists. Use when a project has no .foundry directory yet, when `foundry doctor` reports missing state, or when the user asks to set up Foundry here.

  • handoff

    Hand work from one agent or session to the next without dumping context — write the artifact, summarise inside budget, and state what is unresolved. Use when finishing a delegated task, ending a wave, or pausing work that someone else will resume.

  • memory

    Capture, recall, curate and prune Foundry project memory. Use when a decision or constraint has just been established, when you need to know what was decided before, or when the memory index exceeds its token budget.

  • orchestrate

    Run multi-agent work in waves against a Foundry playbook — delivery, audit, research or migration. Use when a task needs several specialists working in parallel with gates between stages, or when the user asks to orchestrate, fan out, or run a full cycle.

  • runbook

    Find, follow, create or revise an operational runbook. Use BEFORE starting any recurring or error-prone task (deploy, release, migration, incident, audit), and immediately AFTER finishing one that someone will repeat.

  • token-budget

    Measure and reduce what a Claude Code session costs — where tokens go, which levers actually move the number, and how much Foundry's memory system is saving. Use when a session feels expensive, before starting long work, or when the user asks about cost, token usage or context pressure.

Subagents (4)

  • context-broker

    Retrieves the minimum context needed to answer a question or start a task — searches memory, runbooks, ADRs and the codebase, then returns a compact briefing instead of file dumps. Use before planning or implementing when you would otherwise read many files to orient yourself.

  • foundry-orchestrator

    Plans and runs multi-agent work in waves against a Foundry playbook. Use when a task needs more than one specialist, when work can be parallelised across independent areas, or when the user asks for a full delivery, audit or research cycle. Coordinates specialists, enforces contracts between waves a

  • memory-curator

    Curates Foundry project memory — turns a caller-supplied list of candidate facts into stored `fact.v1` entries, deduplicates them, retires what is no longer true and keeps the index inside its token budget. Use at the end of a working session, before compaction, or when the memory index has grown pa

  • runbook-author

    Writes and maintains operational runbooks after work that will recur — deploys, incidents, migrations, releases, recurring audits. Use immediately after finishing a task that was error-prone or that someone will have to repeat, and whenever an existing runbook proved wrong or incomplete. Put the com

MCP servers (1)

  • foundry

    runs: node ${CLAUDE_PLUGIN_ROOT}/mcp/server.mjs

Hooks (9)

  • SessionStart

    node

  • UserPromptSubmit

    node

  • PreToolUse

    node

  • PreToolUse

    node

  • PostToolUse

    node

  • SubagentStop

    node

  • Stop

    node

  • PreCompact

    node

  • SessionEnd

    node

View source on GitHub fedcal.github.io

More from fedcal/foundry

All 12 plugins →

Senior engineering: architecture, functional design, protocols, security, integrations, UX/a11y, Angular, Spring Boot, databases, API and service versioning.

17 skills · 19 agents

0

PMO and agile delivery: roadmaps, backlog, requirements, risk, Scrum events, flow metrics and forecasting, and tracker operations across GitHub, Jira, Linear and GitLab.

12 skills · 10 agents

0

Everything around the project rather than inside it: positioning and messaging, launch and audience, fundraising narrative and funder targeting, personal reputation, and finding collaborators in your own field.

6 skills · 6 agents · hooks

0

Delivery and deploy: GitHub Actions pipelines, containers and Kubernetes, Terraform/OpenTofu, cloud and PaaS targets, release engineering.

5 skills · 6 agents

0

Test strategy, TDD enforcement, contract and E2E testing, performance engineering, observability and SRE practice.

5 skills · 6 agents

0

Project cost engineering, business cases and financial plans, AI/token cost control, grant and public funding reporting.

5 skills · 5 agents

0

Similar plugins

superpowers

claudecodex

Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques

15 skills · hooks

obra/superpowers 316,836

claude-mem

claudecodex

Persistent memory for Claude Code: the next session starts where the last one left off.

29 skills · 1 MCP server · hooks

thedotmack/claude-mem 116,618

mem0

claudecodex

Cross-session memory and token savings for coding agents.

6 skills · 1 agent · 1 MCP server · hooks

mem0ai/mem0 68,893

mempalace

claudecodex

AI memory system — mine projects and conversations into a searchable palace. 47 MCP tools, auto-save hooks, guided setup.

3 skills · 6 commands · 1 MCP server · hooks

MemPalace/mempalace 60,536

5 skills + 35 modes + Material Passport pipeline. Includes v3.6.7 cross-model audit gate and v3.6.8 generator-evaluator contract.

5 skills · 16 commands · 4 agents · hooks

Imbad0202/academic-research-skills 56,698

Backend API design, GraphQL architecture, workflow orchestration with Temporal, and test-driven backend development

9 skills · 1 command · 8 agents

wshobson/agents 42,461

Maintain foundry-core?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex plugins12 plugins