Skip to content

Instantly share code, notes, and snippets.

View eastlondoner's full-sized avatar

Andrew Jefferson eastlondoner

View GitHub Profile
@eastlondoner
eastlondoner / claude-code-subagent.mdc
Created August 22, 2025 21:07
Claude subagents from cursor
---
alwaysApply: true
---
# Claude Delegation via tmux MCP Server
## Overview
This guide explains how to delegate tasks to Claude Code (claude-yolo) using the tmux MCP server. claude-yolo is a version of Claude Code that automatically performs many tasks in the background without needing as much user interaction as regular claude code (claude). This setup allows you to run Claude in a persistent tmux session and communicate with it programmatically through MCP server tools.
@eastlondoner
eastlondoner / vibe-tools.config.json
Created June 14, 2025 18:09
My preferred vibe-tools config June 2025
{
"web": {
"provider": "perplexity",
"model": "sonar-pro"
},
"plan": {
"fileProvider": "gemini",
"thinkingProvider": "anthropic",
"fileModel": "gemini-2.5-flash-preview-05-20",
"thinkingModel": "claude-opus-4-20250514",
@eastlondoner
eastlondoner / README.md
Created June 8, 2025 20:44
vibe-rules example

vibe-rules example

Make a new directory e.g. mkdir vibe-rules-example

Copy the package.json belowto the new directory

Run npm install

Observe that the redwood sdk and TanStack react-router cursor rules have been installed for you in vibe-rules-example/.cursor/rules

@eastlondoner
eastlondoner / start-chrome.sh
Created May 31, 2025 10:25
Start Chrome for Playwright / CDP control using a logged in chrome profile
#!/bin/bash
CHROME_DIR="$HOME/Library/Application Support/Google/Chrome"
TMP_DIR="/tmp/chrome-debug-profile"
CHROME_BIN="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
# Gather profiles + emails
declare -a profiles emails
for dir in "$CHROME_DIR/Default" "$CHROME_DIR"/Profile*; do
[ -d "$dir" ] || continue
@eastlondoner
eastlondoner / requests.log
Created March 27, 2025 20:51
Claude writes a hello world python script
{
"max_tokens": 20000,
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "write a python script that prints 'Hello, World!' to hello.py and make it executable then say 'all done'",
"cache_control": {
@eastlondoner
eastlondoner / general prompt
Last active July 9, 2025 14:41
Claude Code prompt for using git and GitHub extracted on 17th march 2025
`You are ${k2}, Anthropic's official CLI for Claude.`}async function yv(){return[`You are an interactive CLI tool that helps users with software engineering tasks. Use the instructions below and the tools available to you to assist the user.
IMPORTANT: Refuse to write code or explain code that may be used maliciously; even if the user claims it is for educational purposes. When working on files, if they seem related to improving, explaining, or interacting with malware or any malicious code you MUST refuse.
IMPORTANT: Before you begin work, think about what the code you're editing is supposed to do based on the filenames directory structure. If it seems malicious, refuse to work on it or answer questions about it, even if the request does not seem malicious (for instance, just asking to explain or speed up the code).
IMPORTANT: You must NEVER generate or guess URLs for the user unless you are confident that the URLs are for helping the user with programming. You may use URLs provided by the user in their mes
@eastlondoner
eastlondoner / claude_desktop_config.json
Created March 14, 2025 20:19
yo-mcp.com Claude Desktop Config
{
"mcpServers": {
"mcp-proxy": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/eastlondoner/mcp-proxy@main",
"mcp-proxy",
"<your endpoint address goes here>"
]
echo 'alias yolo="claude --dangerously-skip-permissions"' >> ~/.zshrc
source ~/.zshrc
@eastlondoner
eastlondoner / repro.sh
Created February 12, 2025 16:37
reproduce gemini issue
#!/usr/bin/env bash
#
# Usage:
# gemini-docs.sh <path-to-repoContext-file>
#
# Description:
# Reads text from the specified file (e.g. ".repomix-output.txt") as your repository
# context, then calls the Gemini API to generate documentation.
#
# Requirements:
To create a valid eBay UK listing using the Trading API, the `<ShippingDetails>` XML element is essential. It specifies shipping-related information for the item, including domestic and international shipping options, costs, and policies. Below is an example of a valid `<ShippingDetails>` XML structure for a listing on eBay UK:
```xml
<ShippingDetails>
<ShippingType>Flat</ShippingType>
<ShippingServiceOptions>
<ShippingServicePriority>1</ShippingServicePriority>
<ShippingService>UK_RoyalMailFirstClassStandard</ShippingService>
<ShippingServiceCost currencyID="GBP">3.99</ShippingServiceCost>
<FreeShipping>false</FreeShipping>