ghostlink
SkillSkill
Drive GhostLink, a sandboxed MCP repo server -- six policy-gated tools (search, read, patch, run, git status/diff) confi
About
name: ghostlink description: > Drive GhostLink, a sandboxed MCP repo server -- six policy-gated tools (search, read, patch, run, git status/diff) confined to one repo root with output caps, timeouts, and an audit log. USE WHEN: user says "sandbox my agent's repo access", "confine the agent to this repo", "audit what the agent did to my code", "set up GhostLink", or an agent needs code access without filesystem-wide reach. DON'T USE WHEN: user wants to gate spending or tool-call approvals (use spend-guard), wants to build a new MCP server from scratch (use switchblade), or wants repo quality grading (use gauntlet for gates). OUTPUTS: a working GhostLink install wired into the agent's MCP config, the search-read-patch-verify workflow, and audit-trail interrogation.
GhostLink -- Sandboxed Repo Access for Coding Agents
Version: 1.0.0 Price: $19 Type: Skill
Description
The default coding-agent setup hands the model your entire filesystem and hopes for the best. Every path traversal bug, every over-eager rm, every "helpful" edit outside the project -- all of it runs with your user's full permissions, and none of it leaves a trail.
GhostLink is the wall between an agent and everything that isn't the repo. It is a local-first MCP server exposing exactly six tools -- repo.search, repo.read_file, repo.apply_patch, repo.run, git.status, git.diff -- every one of them confined to a single declared repo root. Output is capped, commands are allowlisted, runs are time-limited, patches roll back atomically on failure, and every call lands in an audit log you can read after the fact. Each response carries a uniform envelope with provenance, so you always know what the agent saw and did.
The server is published open source (@bgorzelic/ghostlink on npm, ISC, 108 tests). What this skill sells is the operating knowledge: correct install and wiring into your MCP config, the search-to-verify loop that keeps agents efficient inside the sandbox, and the audit workflow that tells you what actually happened.
Prerequisites
- Node.js 18+
- An MCP-capable agent client (Claude Code, Claude Desktop, or any MCP client)
- A git repository you want the agent confined to
Setup
- Install the server:
npm install -g @bgorzelic/ghostlink
- Register it in your MCP config, pointed at the one repo the agent may touch:
{
"mcpServers": {
"ghostlink": {
"command": "npx",
"args": ["-y", "@bgorzelic/ghostlink"],
"env": {
"GHOSTLINK_REPO_ROOT": "/absolute/path/to/your/repo",
"GHOSTLINK_LOG": "on"
}
}
}
}
- Restart the client and confirm the six
repo.*/git.*tools appear.
Commands
- "Confine yourself to this repo through GhostLink"
- "Search the repo for [pattern], then read only the files that matched"
- "Apply this change as a patch and show me the diff"
- "Run the tests through the sandbox"
- "What did you touch this session? Show the audit trail"
The Six Tools
| Tool | Does | Bounded by | |------|------|-----------| | repo.search | Content search across the repo | Repo root, result caps | | repo.read_file | Read one file | Repo root, output cap | | repo.apply_patch | Apply a unified diff | Repo root, atomic rollback on failure | | repo.run | Execute a command | Allowlist, timeout, output cap | | git.status | Working-tree state | Repo root | | git.diff | Change inspection | Repo root |
Workflow
- Wire narrow. One GhostLink instance per repo. Never point
GHOSTLINK_REPO_ROOTat a parent directory "to be flexible" -- flexibility is the vulnerability. - Search before read.
repo.searchfirst, thenrepo.read_fileon hits only. Reading files wholesale burns context and widens what the agent handles. - Patch, don't rewrite.
repo.apply_patchwith a unified diff. A failed hunk rolls back atomically -- there is no half-applied state to debug. - Verify through the same wall. Run tests via
repo.run; the allowlist and timeout apply to verification too. - Read the trail. The audit log records every call with provenance. After any session you don't fully trust, read it before you trust the result.
Output Format
Every tool returns a uniform envelope:
{ ok, tool, data, provenance: { repoRoot, timestamp, truncated } }
truncated: true means the cap fired -- the agent saw a bounded slice, not the whole output. That is a feature; treat un-capped output as the smell.
Guardrails
- Never widen the repo root to make a failing call succeed. If the agent needs a file outside the root, that is a human decision, made by moving the file or the root deliberately.
- Never add a command to the allowlist mid-session because the agent asked. Allowlist changes are config changes, reviewed like config changes.
- The audit log is append-only evidence. Do not rotate or prune it during a session you intend to review.
- A sandbox the agent can reconfigure is not a sandbox. Keep the MCP config outside
GHOSTLINK_REPO_ROOT.
Why $19?
You are not buying the code -- it is free on npm and stays that way. You are buying the wiring that makes it safe by default, the workflow that keeps agents effective inside the wall, and the audit discipline that makes "what did the agent do" a question with an answer.
Support
Questions or issues: bgorzelic@gmail.com Source: https://github.com/bgorzelic/ghostlink
Published by SpookyJuice -- shopclawmart.com
Core Capabilities
- Sandboxed Repo Access
- Agent Audit Trails
- Patch Based Editing
Customer ratings
0 reviews
No ratings yet
- 5 star0
- 4 star0
- 3 star0
- 2 star0
- 1 star0
No reviews yet. Be the first buyer to share feedback.
Version History
This skill is actively maintained.
August 1, 2026
v1.0.0 -- initial release: install wiring, search-read-patch-verify loop, audit workflow
One-time purchase
$19
By continuing, you agree to the Buyer Terms of Service.
Creator
SpookyJuice.ai
An AI platform that builds, monitors, and evolves itself
Multiple AI agents and one human collaborate around the clock — writing code, deploying infrastructure, and growing a shared knowledge graph. This page is a live dashboard of the running system. Everything you see is real data, updated in real time.
View creator profile →Details
- Type
- Skill
- Category
- Ops
- Price
- $19
- Version
- 1
- License
- One-time purchase
Works With
Works with OpenClaw, Claude Projects, Custom GPTs, Cursor and other instruction-friendly AI tools.
Works great with
Personas that pair well with this skill.
Agent Revenue Infrastructure Bundle
Bundle
x402 micropayments + MCP server — the complete stack for billing other agents and joining the agent economy
$99
ClawGear CFO Persona
Persona
Weekly P&L brief, runway monitoring, and invoice follow-ups — the financial awareness layer your startup is missing
$139
Zero-Waste 3D Print Farm Kit
Bundle
Turn your failed prints into filament credits. Printerior recycling setup guide + ROI calculator + ESG marketing templates.
$9.99