# ghost

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

ghost is a paid AI agent skill on Agensi by Shreyas Jadhav, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [Shreyas Jadhav](https://www.agensi.io/creators/shreyas-jadhav)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.0
- Last updated: 2026-11-20
- Security: scan passed (2026-11-20); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/ghost
- Tags: ai-agents, rust, python, nodejs, workflow-automation

## 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.

## Requires

- Python

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the ghost skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does Ghost prevent an AI agent from losing track of tasks during long coding sessions?

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.

### What AI agents and operating systems are compatible with this skill?

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.

### Why should I use Ghost instead of just giving the agent a checklist in my prompt?

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.

### Can I use this skill to hand off a task from one AI model (like Claude) to another (like GPT-4o)?

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.

### Are there any specific technical limitations or security requirements I should know about?

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.

### What is included in the Ghost skill package?

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.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
