skills/agent-architect-kit/SKILL.md
# Agent Architect Kit ↔ ThumbGate Bridge **Status:** shipped 2026-04-21. Test-backed. CLI-automatable. Safe to recommend publicly. ## What this is [agent-architect-kit](https://github.com/ultrathink-art/agent-architect-kit) by @ultrathink-art is a CLAUDE.md + agent-role template kit that persists learnings as per-role markdown files (`agents/state/memory/<role>.md`). They solve the setup layer. ThumbGate solves the runtime-enforcement layer — PreToolUse hooks that actually block known-bad too
npx skillsauth add igorganapolsky/mcp-memory-gateway skills/agent-architect-kitInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Status: shipped 2026-04-21. Test-backed. CLI-automatable. Safe to recommend publicly.
agent-architect-kit by @ultrathink-art is a CLAUDE.md + agent-role template kit that persists learnings as per-role markdown files (agents/state/memory/<role>.md). They solve the setup layer. ThumbGate solves the runtime-enforcement layer — PreToolUse hooks that actually block known-bad tool calls instead of hoping the agent reads its memory file.
The two stacks are complementary. A team running architect-kit graduates to ThumbGate when their markdown memory grows past the ~80-line ceiling their own memory-directive.md enforces, or when they want their operations meta-agent to do more than edit instructions — actually prevent the failing action.
This bridge turns that graduation into a one-shot command.
scripts/integrations/architect-kit-memory-bridge.js walks an architect-kit memory directory, parses each per-role .md file, and emits one ThumbGate feedback entry per qualifying line:
| architect-kit section | → ThumbGate signal | notes |
|---|---|---|
| ## Mistakes | down with whatWentWrong | every entry becomes a thumbs-down lesson |
| ## Learnings | up with whatWorked | every entry becomes a thumbs-up memory |
| ## Stakeholder Feedback | up/down depending on keywords | "rejected", "broken", "wrong", "hate", etc. flip negative |
| ## Session Log | skipped | too granular to be useful in a searchable lesson DB |
Every ingested entry is tagged architect-kit, role:<name>, and the source section, so imports are auditable and rollbackable.
Dry-run first (no writes, prints classification):
npm run integrations:architect-kit:import -- \
--dir=/path/to/agents/state/memory \
--dry-run --json
Real import (writes to ThumbGate feedback log):
npm run integrations:architect-kit:import -- \
--dir=/path/to/agents/state/memory
Single role (e.g. import only coder.md):
npm run integrations:architect-kit:import -- \
--dir=/path/to/agents/state/memory \
--role=coder
npm run feedback:stats # see new entries grouped by tag
npm run feedback:rules # regenerate prevention rules from the imported mistakes
The imported mistakes now feed the same pipeline as native ThumbGate feedback: lesson DB indexing, Thompson Sampling rollups, prevention-rule generation, and PreToolUse hook injection. The architect-kit operations agent's "edit the instructions" loop is now backed by hooks that can actually refuse a tool call.
npm run test:architect-kit-memory-bridge
# 16 tests, 0 fail
Fixtures live in tests/fixtures/architect-kit-memory/ and mirror the exact format from architect-kit's memory-directive.md. The test-suite parity guard (tests/test-suite-parity.test.js) pins this test into the npm test chain — dropping the test accidentally now fails CI.
operations meta-agent edits instructions. ThumbGate lets operations also register prevention rules that PreToolUse hooks honor — the same loop, but the agent literally cannot skip it.Session Log section. The bridge skips it deliberately. Session log entries are ephemeral task receipts, not lessons.npm run feedback:rules. Wire that into your Ralph Loop (or theirs) if you want continuous re-derivation.scripts/integrations/architect-kit-memory-bridge.js — parser + importer + CLItests/architect-kit-memory-bridge.test.js — 16 unit teststests/fixtures/architect-kit-memory/{coder,qa}.md — fixtures matching their formatpackage.json — new test:architect-kit-memory-bridge and integrations:architect-kit:import scripts, chained into npm testskills/agent-architect-kit/SKILL.md — this docIf they ship stable entry IDs in their memory format, upgrade the bridge to do incremental imports (skip already-seen entries). Until then, treat this as a one-shot migration tool, not a sync daemon.
testing
Make any ThumbGate-facing copy (landing pages, README, Reddit/LinkedIn/Bluesky posts, comparison pages, docs, outreach drafts) sound like ThumbGate — direct, technical, honest, anti-hype. Use BEFORE writing or editing any customer-facing or marketing text for ThumbGate.
tools
ThumbGate provides pre-action gates for AI coding agents. It captures thumbs-up/down feedback on agent actions, auto-promotes repeated failures into prevention rules, and blocks known-bad tool calls via PreToolUse hooks. Trigger when the user wants to add safety guardrails to an AI agent workflow, capture structured feedback on agent output, generate prevention rules from failure patterns, gate high-risk actions before execution, or export DPO training pairs from production feedback. Works with any MCP-compatible agent including Cursor, Codex, Gemini CLI, Amp, and OpenCode.
testing
# Skill: Verify Pricing Surfaces Repeatable skill for verifying all revenue-generating pages are live, have analytics, and have working Stripe links. Covers both ThumbGate and ApplyOps. ## When to use - Session startup (quick health check) - After any deploy to ThumbGate or ApplyOps - CEO asks "why aren't we making money?" or "is everything working?" - Before any pricing/checkout changes ## Steps ### 1. ThumbGate pricing surfaces ```bash # Homepage — all 3 analytics curl -sL https://thumbg
development
# Skill: Pull Funnel Data Repeatable skill for pulling checkout funnel analytics data from all sources into a readable local report. ## When to use - CEO asks "why aren't we making money?" or "what does the funnel look like?" - Before any pricing/checkout changes - Weekly revenue check-in ## Steps ### 1. Run the live Plausible poller ```bash cd /Users/igorganapolsky/workspace/git/igor/ThumbGate/repo npm run social:poll:plausible ``` This pulls live Plausible visitors, source attribution,