lore

    1

    Long-term project memory for AI agents to record architecture, decisions, and conventions in plain Markdown.

    Free

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+22 more

    lore

    Example session with this skill installed

    lore sync: I just refactored the auth flow to use Iron Session instead of JWTs because of the new security requirements. Remember this decision.

    • Read your context and instructions
    • Compiled the lore

    I have analyzed the changes in the authentication flow and prepared a memory update. I detected that this change affects the _global scope and identified a conflict with a previous convention regarding JWT usage.

    Sync Result: Authentication Refactor

    I have updated the project memory to reflect the shift to Iron Session. The previous JWT convention has been marked as stale.

    Modified Files:

    • .lore/_global/DECISIONS.md
    • .lore/_global/CONVENTIONS.md

    New Entries:

    - [DEC-2023-10-27-a1b2] Switched from JWT to Iron Session for auth; reason: mitigates XSS risks and simplifies session invalidation. #added:2023-10-27
    - [CONV-2023-10-27-c3d4] Use `lib/session.ts` for all auth checks; do not manually parse headers for JWTs. #added:2023-10-27
    

    Updated Entries:

    - [CONV-2023-05-12-e5f6] Use JWT for stateless auth. #stale #superseded-by:[CONV-2023-10-27-c3d4]
    

    Next steps

    1. Run lore mirror to update CLAUDE.md and .cursorrules with the new auth conventions.
    2. Run lore audit to ensure no remaining components are still attempting to use the old JWT utility.

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

    About this skill

    Stop losing critical project context to the "memory hole" of long AI chat sessions. Lore provides a framework-agnostic, long-term memory layer for your codebase that persists across agents, IDEs, and sessions. It captures the high-level architecture, design decisions, and coding conventions that live in a senior developer's head but rarely make it into the documentation.

    What it does

    • Persistent memory stores project architecture, decisions, and conventions in plain Markdown files within a .lore/ directory.
    • Bi-directional syncing records new decisions or architectural changes after features, refactors, or bug fixes.
    • Platform mirroring projects project memory into agent-specific files like CLAUDE.md, .cursorrules, or AGENTS.md.
    • Intelligent auditing compares stored project memory against the actual source code to identify drift and stale information.
    • Context compression generates a SUMMARY.md digest to help agents quickly ingest large knowledge bases without hitting token limits.

    How it works

    1. Initialize the memory bank by scanning the codebase and workspace configuration to establish the initial .lore/ structure.
    2. Record changes using sync to capture the "why" behind non-trivial code modifications and update relevant entries.
    3. Recall context via query to answer questions about project conventions or historical design choices.
    4. Maintain accuracy through periodic audit and compress cycles to ensure memory matches reality and stays concise.

    Frameworks & tools

    This skill is language and framework agnostic. It supports monorepo detection for pnpm, Yarn, npm, Lerna, Nx, Rush, Cargo, Go, and Bazel. It integrates with Claude Code, Cursor, Aider, and Cline via mirror files.

    Why this beats prompting it yourself

    Manual prompts about project context are transient and inconsistent across sessions. This skill enforces a deterministic ID system and a structured ARCH/DEC/CONV schema that ensures your project's history remains searchable, auditable, and transferable between different AI agents.

    Use cases

    • Record why a specific library was chosen over a popular alternative to prevent future refactoring loops.
    • Enforce custom linting or architectural rules that generic AI models don't know by default.
    • Onboard a new AI agent to a complex monorepo by providing a structured summary of every scope.
    • Audit a legacy codebase to find where the actual implementation has drifted from documented conventions.

    Known limitations

    Does not replace changelogs or version control. Requires manual confirmation for file mutations. Mirror updates are not triggered on every sync by default to avoid git noise.

    How to use

    Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free forever

    No account required to browse

    Trust & safety

    Security scanned

    Verified clean 11 days ago

    • Free to download with an account

    Requires

    Python

    Listed11 days ago

    What's inside

    Frequently Asked Questions