bridge
Skill2 starsChanged 5 days agoMITView on GitHub
Start the artifact bridge server for HTML artifacts to read/write project files.
- Sends data out
5 other projects use a version of this.
Adopted by
Most recently taken up by
- pantheon-org/tekhnetheir own version, first seen Nov 15, 2026
- ChainGPT-org/chaingpt-claude-skilltheir own version, first seen Nov 1, 2026
- serdardb/context-bridgetheir own version, first seen Sep 18, 2026
- msanchezdev/agent-bridgetheir own version, first seen Jun 17, 2026
- EthanSK/agent-bridgetheir own version, first seen Apr 12, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- msanchezdev/agent-bridge★ 20same name
- EthanSK/agent-bridge★ 11same name
- pantheon-org/tekhne★ 10same name
- ChainGPT-org/chaingpt-claude-skill★ 7same name
- serdardb/context-bridge★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository24 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- 1passwordSkill
- brainSkill
- brainstormSkill
- claude-switcherSkill
- clear-cacheSkill
- commitSkill
- cross-artifactSkill
- ctoSkill
- diskSkill
- killSkill
- lookSkill
- parseSkill
- pbarSkill
- planSkill
- pruneSkill
- pushSkill
- reportSkill
- researchSkill
- swarmSkill
- vibe-auditSkill
- video-editorSkill
- webSkill
- wikiSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
All paths are relative to project root and cannot escape it.
- Distinctive: line 33
Run this command in the background — it's a long-running process.
- Distinctive: line 78
Add a status indicator in the artifact header to show bridge connectivity:
- Very specific: line 90
If .claude/kit.json has a rules."bridge" entry, read it and apply it as an additional instruction for this skill.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Artifact Bridge
Starts a lightweight localhost HTTP server that lets HTML artifacts (opened in a browser) read and write project files via fetch.
Endpoints:
GET /status— health check, returns project rootGET /read?path=relative/path— read a filePOST /write{ path, content }— write a file
All paths are relative to project root and cannot escape it.
Procedure
- Kill any existing bridge on port 4444:
lsof -iTCP:4444 -sTCP:LISTEN -t 2>/dev/null | xargs kill 2>/dev/null
sleep 1- Start the bridge server in background:
node scripts/artifact-bridge.cjs "$(pwd)"Run this command in the background — it's a long-running process.
- Wait for the server to be ready:
for i in 1 2 3 4 5; do
curl -s http://127.0.0.1:4444/status > /dev/null 2>&1 && break
sleep 1
done- Report:
Artifact bridge: http://127.0.0.1:4444
Root: <project root>Rules
- No confirmation needed — execute immediately
- Port 4444, bound to 127.0.0.1 only
- Files scoped to project root — no path traversal outside project
Artifact Integration
HTML artifacts can connect to the bridge with this pattern:
var BRIDGE = 'http://127.0.0.1:4444';
// Check connection
fetch(BRIDGE + '/status').then(r => r.json())
// Read a file
fetch(BRIDGE + '/read?path=src/example.ts').then(r => r.json())
// Write a file
fetch(BRIDGE + '/write', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ path: 'src/example.ts', content: '...' })
})Add a status indicator in the artifact header to show bridge connectivity:
setInterval(function() {
fetch(BRIDGE + '/status').then(r => { connected = r.ok; })
.catch(() => { connected = false; });
}, 5000);Project overrides
If .claude/kit.json has a rules."bridge" entry, read it and apply it as an additional
instruction for this skill. Absent file or key means no overrides — that is the normal case.
jq -r '.rules."bridge" // empty' .claude/kit.json 2>/dev/nullDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

