Works with the AI Agents you already use

    Local-first task tracking, deterministic context pinning, and session handoffs for coding agents.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    ghost

    ghost

    Example session with this skill installed

    I'm working on an existing Rust project using OpenCode and Claude Code.

    Set up Ghost 2.0 as my persistent AI development workflow engine.

    I want you to

    1. Analyze my existing repository and initialize Ghost without overwriting my work.
    2. Configure Ghost for OpenCode and Claude Code.
    3. Create a tracked task for implementing authentication.
    4. Generate a focused context packet so my coding agent only receives relevant information.
    5. Show me how to verify the implementation with recorded evidence.
    6. Prepare a handoff so I can switch coding agents or start a new session without losing progress.

    Keep everything local, show the commands executed, and clearly distinguish completed work from pending work.

    • Read your context and instructions
    • Compiled the ghost

    Ghost 2.0 — Persistent Development Workflow

    Overview

    Ghost 2.0 provides a persistent workflow for your existing Rust repository.

    It maintains structured project state, tracks implementation tasks, prepares focused context for coding agents, records verification evidence, and supports handoffs between OpenCode and Claude Code.

    Ghost is local-first: It does not require an LLM API key, make model calls, or upload your project data.

    1. Initialize the project

    Run the following from the repository root:

    ghost init --adapter opencode --adapter claude
    ghost adapters
    ghost status
    

    Ghost detects the existing repository and prepares agent-specific project instructions.

    Project workflow files

    FilePurpose
    .ghost/state.jsonCanonical project state
    STATE.mdHuman-readable progress
    .ghost/project.jsonDetected repository information
    .ghost/tasks/Persistent task records
    .ghost/events.jsonlLocal workflow history
    AGENTS.mdOpenCode instructions
    CLAUDE.mdClaude Code instructions

    Existing generated files are protected against silent overwrites. If Ghost detects a conflict, review the changes before choosing whether to force regeneration.

    2. Create a persistent development task

    Let's track authentication as an implementation task.

    ghost task add "Implement authentication" \
      --ref src/ \
      --check "cargo test"
    

    Ghost creates a structured task record with a persistent identifier.

    For this example, assume the returned identifier is TASK-0001.

    Start the task

    ghost task start TASK-0001
    ghost task show TASK-0001
    

    The task can now be tracked across development sessions.

    Task workflow

    StageMeaning
    BacklogTask created
    ReadyPrepared for implementation
    In progressActive development
    VerificationImplementation awaiting checks
    DoneCompleted through the documented workflow
    BlockedCannot proceed
    CancelledWork discontinued

    Ghost enforces task-state transitions rather than treating every task as a free-form checklist.

    3. Generate focused context

    Instead of repeatedly asking an AI agent to inspect the entire repository, generate a task-specific context packet.

    ghost context --task TASK-0001 --budget 1200
    

    The packet can include

    • Current objective and task references
    • Acceptance checks
    • Relevant source-file excerpts
    • Project decisions and blockers
    • Recent changes and verification history

    The context is selected deterministically using task references, Git changes, and repository metadata.

    Why this matters: Your coding agent receives a more focused starting point, while Ghost retains persistent state outside the conversation.

    Actual token savings depend on the project and have not yet been independently benchmarked.

    4. Verify implementation with evidence

    After the coding agent implements the feature, inspect the intended verification command.

    Then run

    ghost verify --approve -- cargo test
    

    Ghost records evidence such as the command, execution result, timing, revision information, and source hashes.

    Review available verification records

    ghost verify --list
    

    If tracked source files change, Ghost can flag previously recorded evidence as stale.

    Important: Ghost records what was checked. It does not guarantee that passing tests prove the entire implementation is correct. Verification commands are not sandboxed.

    5. Handoff to another AI coding agent

    Before ending the session, create a persistent handoff:

    ghost handoff \
      --note "Authentication task in progress; review verification evidence before continuing"
    

    The handoff records project revision, task information, workflow state, and evidence references.

    When returning with another agent or a fresh session:

    ghost resume
    ghost status
    

    Ghost compares the saved handoff with the current repository revision.

    If the revision changed, it reports the handoff as stale instead of silently trusting outdated context.

    This helps prevent the next agent from relying on an inaccurate account of previous work.

    6. Continue development

    The next coding session can use the same Ghost project state.

    CapabilityGhost 2.0
    Persistent project stateSupported
    Structured task trackingSupported
    Task-specific context packetsSupported
    OpenCode integrationProject instructions and commands
    Claude Code integrationProject instructions and commands
    Codex integrationProject instructions and file-based next steps
    Verification evidenceSupported
    Cross-session handoffsSupported
    Automatic LLM executionNot included
    Cloud account requiredNo

    Final Result

    Ghost establishes a reusable development workflow around the existing repository.

    The project gains

    • A durable source of truth for development progress
    • Structured tasks with explicit transitions
    • Focused context packets for supported coding agents
    • Recorded verification evidence
    • Revision-aware handoffs between sessions
    • Local project files that remain accessible independently of the AI conversation

    Next Steps

    1. Continue implementing the authentication task with your chosen coding agent.
    2. Run the relevant tests and inspect the evidence.
    3. Update the task through the supported state transitions.
    4. Create a handoff before switching sessions or agents.
    5. Use ghost status to review current progress.

    Ghost 2.0 — One project. Persistent context. Multiple coding agents.

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

    About this skill

    Context window bloat and lost instructions between agent sessions break complex coding workflows. When you switch models or start a new chat, the agent loses track of what was tested, what is blocked, and what files actually matter.

    This skill installs and drives Ghost, a local CLI tool that manages task state, deterministic context packets, and verification evidence directly in your repository. It ensures your agent follows a disciplined loop of starting a task, recording progress, and generating a handoff snapshot that survives session resets.

    What it does

    • Task Management: Tracks outcomes, file references, and check commands in a local .ghost/ directory.
    • Context Pinning: Generates deterministic context packets based on specific tasks and token budgets.
    • Verification Evidence: Records local test results and marks them stale if source files change.
    • Session Handoffs: Creates snapshots of the current state and pending work to resume in new chats.
    • Automated Scaffolding: Generates AGENTS.md, CLAUDE.md, and project specs for Rust, Python, and Node.

    How it works

    1. Initialize: Run ghost init to detect your stack and scaffold the local workflow files.
    2. Define: Create a task with ghost task add specifying the file references and the success command.
    3. Execute: Start the task and use ghost context to pull only the relevant files and state into the agent's view.
    4. Verify: Run ghost verify to execute checks and capture local evidence of completion.
    5. Snapshot: Use ghost handoff to save a notes-based progress report for the next session.

    Frameworks & tools

    Works with Rust, Python, and Node.js repositories. Supports Linux x86_64, macOS arm64, and macOS x86_64. Requires Cargo if building from source.

    Why this beats prompting it yourself

    Manual instructions often result in "context drift" where agents ignore previous test failures or hallucinate task status. This skill enforces a CLI-backed source of truth, making the agent's behavior predictable across different models and restarts.

    Use cases

    • Resuming a complex refactor across multiple chat sessions or IDE restarts.
    • Providing proof of work via local verification evidence before committing.
    • Managing multi-step migrations where only specific files should be in context.
    • Standardizing agent behavior across a team using a shared .ghost/ state.

    Known limitations

    Does not support Windows. Does not perform git pushes or remote sync. Verification evidence is local and unsigned. Requires user approval for all shell-active commands.

    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

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 15 days ago

    Accounts
    GitHub
    Software
    Python

    Permissions

    Terminal / Shell
    Network Access
    Read Files

    Allowed Hosts

    github.com
    Listed15 days ago

    What's inside

    Frequently Asked Questions

    Ghost solves "context drift" by moving task state and file references out of the chat history and into a local `.ghost/` directory, ensuring your agent always knows exactly what was tested and what is still blocked.

    This skill works with any agent capable of executing shell commands and is optimized for repositories using Rust, Python, or Node.js on macOS (arm64/x86_64) and Linux.

    Unlike manual prompting, Ghost provides a CLI-backed "source of truth" that records actual test outcomes and file changes, making it impossible for the agent to hallucinate task completion.

    Yes, because Ghost stores all state in a local `.ghost/` directory within your repo, different models can read the same "handoff snapshot" to resume work exactly where the previous session left off.

    Ghost does not support Windows, it does not perform remote Git operations, and it requires user approval for all shell-active commands to ensure security.

    The purchase includes the core Ghost skill for your AI agent, the local CLI binary, and automated scaffolding templates for generating `AGENTS.md` and project specifications.

    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.