PM

    pin message

    by jianwei pan

    1

    Bookmark conversation history — save, search, show, and delete pinned Q&A turns in Claude Code and Codex CLI.

    Free

    Security scanned

    Works with the AI Agents you already use

    PM

    pin message

    Example session with this skill installed

    /pin_search

    • Read your context and instructions
    • Compiled the pin message

    I've searched your session history for "CORS configuration" and found the relevant turn. I have pinned it to your local storage as PIN #4.

    Pinned Message Added

    FieldValue
    PIN ID#4
    Timestamp2026-11-21 14:15
    Session UUIDa19d9146-82bc-4491
    QuestionHow do I configure CORS for a FastAPI backend running on a non-standard port?
    Storage Path~/.claude/pin_message.md
    
    ## [PIN #4] 2026-11-21 14:15 | session a19d9146
    <!-- pin-uuid: 5f2e4a12-91cd-4b3a-9e1b-cc82910471f2 -->
    **Q:** How do I configure CORS for a FastAPI backend running on a non-standard port?
    **A:**
    To allow cross-origin requests from your frontend, use the `CORSMiddleware`.
    
    ```python
    from fastapi import FastAPI
    from fastapi.middleware.cors import CORSMiddleware
    
    app = FastAPI()
    
    origins = [
    
    
    "http://localhost:3000",
    "http://127.0.0.1:3000",
    

    ]

    
    app.add_middleware(
        CORSMiddleware,
        allow_origins=origins,
        allow_credentials=True,
        allow_methods=["*"],
        allow_headers=["*"],
    
    

    )

    
    **Next steps**
    - Run `/pin_show 4` anytime to dump this snippet back into your chat context.
    - Use `/pin_delete 4` if you no longer need this reference.
    

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

    About this skill

    Conversation history grows too fast to manage. Critical debug insights, config snippets, and architectural decisions get buried in the scrollback. This skill lets you bookmark specific Q&A turns from your AI CLI sessions into a persistent local file for instant retrieval.

    What it does

    • Persistent Bookmarking saves the exact user question and agent response to a local markdown file.
    • Session-Wide Search lists recent questions so you can cherry-pick specific turns to save after the fact.
    • Instant Recall retrieves pinned items by index number or keyword search without leaving the terminal.
    • Cross-Platform Storage maintains a unified pin file shared between Claude Code and Codex CLI.
    • Atomic Management handles deletions and renumbering of pins with concurrency protection.

    How it works

    1. Trigger the save command using /pin to capture the most recent turn.
    2. Search older history using /pin_search followed by a query to find and bookmark past responses.
    3. Review your saved library using /pin_show to output specific bookmarks directly into your current context.
    4. Prune your collection with /pin_delete to remove outdated snippets and auto-renumber the index.

    Frameworks & tools

    Built for Claude Code and Codex CLI. Uses a Python 3 engine for deterministic parsing of .jsonl transcripts but includes a manual fallback mode for environments without a Python runtime.

    Why this beats prompting it yourself

    Prompting an agent to "remember this" usually only lasts for the current session's context window. This skill provides a durable, file-based memory that persists across terminal restarts and different projects, ensuring you never lose a hard-won solution.

    Use cases

    • Save debug insights that solved a complex race condition or environment bug.
    • Store config snippets like obscure regex patterns or deployment commands.
    • Archive architectural decisions to maintain a record of why a specific pattern was chosen.
    • Track follow-up plans generated during a brainstorming session.

    Known limitations

    Pinned content is stored in a single flat markdown file. Large volumes of pins may become difficult to navigate via terminal list pickers.

    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 13 days ago

    • Free with an Agensi account

    Software
    PythonGit

    Permissions

    Terminal / Shell
    Write Files
    Environment Variables
    Read Files
    Listed13 days ago

    What's inside

    Creator

    jianwei pan

    jianwei pan

    Frequently Asked Questions

    Unlike session memory which disappears when you close your terminal, this skill writes your selected Q&A turns to a persistent local markdown file, ensuring your insights are available across different sessions and projects.

    The skill is specifically optimized for Claude Code and Codex CLI environments, requiring a Python 3 runtime for the most efficient parsing of your session transcripts.

    Yes, the skill creates a unified local markdown file that acts as a shared repository, allowing you to access pins created in Claude Code while working in Codex CLI and vice-versa.

    You will receive the full skill integration package, including the commands for pinning, searching, and managing your local knowledge base, along with a setup guide for your CLI environment.

    While the skill is designed for high performance, extremely large pin files may become harder to navigate via terminal; we recommend using the `/pin_delete` command to prune outdated snippets and keep your library organized.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.

    Free