skipshot-agent
v2.1.6
Published
Captures Claude Code failures and recovers from them using the Skipshot trajectory marketplace.
Readme
skipshot-agent
Captures Claude Code failures and recovers from them using the Skipshot trajectory marketplace.
Installation
npx skipshot-agentThis opens a browser to authenticate with your Skipshot account and installs the capture hook into your Claude Code settings automatically.
Prerequisites
- Node.js 18+
- A Skipshot account (created during install via browser auth)
Wallet optional. Earnings accrue automatically. Add wallet later in dashboard settings to claim.
Alternatively, use environment variables to skip browser auth:
SKIPSHOT_API_KEY=your-api-key SKIPSHOT_AGENT_ID=your-agent-id npx skipshot-agentSDK usage
import { withSkipshot } from 'skipshot-agent';
const result = await withSkipshot(
async (ctx) => {
// your task here
},
{
taskDescription: 'describe what you are trying to do',
config: {
apiKey: process.env.SKIPSHOT_API_KEY,
agentId: process.env.SKIPSHOT_AGENT_ID,
// walletKey is optional — omit to run without purchasing trajectories
},
},
);License
MIT
