L123 Harness

    by Miaosong Zhang

    1

    - Event Review automates weekly audits of event logs to distill recurring patterns into permanent knowledge or pitfalls.

    Free

    Security scanned

    Works with the AI Agents you already use

    L123 Harness

    Example session with this skill installed

    I've been working for a week. Let's do a review of the events and see what needs to be moved to long-term memory.

    • Read your context and instructions
    • Compiled the l123 harness

    I have analyzed the event logs from .agents/events/events-2024-10.jsonl since the last review. I found 3 recurring patterns that meet the upgrade thresholds and have placed them in the inbox for your approval.

    Memory Review Inbox

    TypeSourceSuggested DestinationReason
    Pitfalltool_error (3x).agents/pitfalls/auth-expiry.mdRepeated 401 errors during API integration tests.
    Knowledgecompact checkpointCLAUDE.md #DeploymentSuccessfully deployed to staging 3 times using specific flag.
    MemoryUser FeedbackProject Memory (Feedback)User repeatedly requested "minimal output" for log commands.

    Next steps

    1. Review the generated candidate file at .agents/inbox/2024-10-27-auth-expiry.md.
    2. To approve an upgrade to CLAUDE.md, run touch .claude/.gate-token to grant a one-time write permission.
    3. Tell me to "Discard" the log feedback if you prefer me to keep the current verbosity settings.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Managing project state and agent memory shouldn't feel like a manual chore. This package implements a three-tier memory architecture—L1 Permanent, L2 Index, and L3 Detail—to prevent context drift and keep your agent's knowledge base clean, structured, and strictly governed.

    What it does

    • Memory Tiering organizes data into an L1 constant layer (CLAUDE.md), an L2 index, and an L3 detail directory to optimize context usage.
    • Event Review automates weekly audits of event logs to distill recurring patterns into permanent knowledge or pitfalls.
    • Strict Governance implements a "gate" system requiring explicit tokens for modifying protected core files, preventing accidental overwrites.
    • Vertical TDD enforces a test-driven development loop that prioritizes public behavior over implementation details.
    • Skill Scaffolding provides templates and logic for creating new agent capabilities with progressive disclosure.

    How it works

    1. Initialize the harness using /l123-harness:init-harness to generate the .agents/ directory and memory skeleton.
    2. Execute Tasks using the TDD skill to ensure every feature is backed by behavior-driven integration tests.
    3. Log Events automatically as the agent works, tracking errors, successful flows, and user feedback.
    4. Review and Upgrade by running event-review to move validated patterns from the inbox to permanent storage.

    Frameworks & tools

    The harness is framework-agnostic but optimized for projects using Claude Code and Cursor. It utilizes shell scripts for initialization and JSONL for immutable event logging.

    Why this beats prompting it yourself

    Prompting an agent to "remember" often leads to hallucinated context or bloated system prompts. This skill provides a physical filesystem structure and a deterministic review process that ensures only verified, high-value information makes it into the long-term memory.

    Use cases

    • Project Onboarding to bootstrap a new repository with standardized memory and safety rules.
    • Knowledge Capture to systematically document "gotchas" and recurring bugs without manual writing.
    • Behavioral Testing to guide an agent through a strict red-green-refactor loop.
    • Skill Development to author and organize custom agent skills for team-wide use.

    Known limitations

    Initialization will not overwrite existing CLAUDE.md files without user intervention. The memory upgrade process requires manual approval via gate tokens for protected files.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 9 days ago

    • Free with an Agensi account

    Software
    Git

    Permissions

    Terminal / Shell
    Read Files
    Network Access
    Write Files
    Environment Variables
    Listed9 days ago

    What's inside

    Creator

    Miaosong Zhang

    Miaosong Zhang

    Frequently Asked Questions

    It prevents "context drift" and bloated prompts by organizing knowledge into three physical tiers (L1-L3), ensuring the agent only accesses the most relevant high-level or granular data as needed.

    This skill is framework-agnostic but is specifically optimized for developers using Claude Code and Cursor, utilizing shell scripts and JSONL logging for seamless integration into those workflows.

    The Event Review system automatically audits your logs to identify recurring patterns or pitfalls, allowing you to "upgrade" these insights into permanent memory via a secure gate token system.

    You receive the full harness package including initialization scripts, the .agents/ directory framework, TDD logic templates, and the governance 'gate' system for protected files.

    The harness implements a strict governance layer that requires explicit user tokens to modify core files, preventing the agent from accidentally overwriting your project's permanent memory or safety rules.

    New in Agents & Orchestration

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.

    Free