mirror of
https://github.com/garrytan/gstack.git
synced 2026-08-09 15:56:02 +02:00
chore: rename skill from browse to gstack-browse
Update all paths from ~/.claude/skills/browse/ to ~/.claude/skills/gstack-browse/ in SKILL.md and cli.ts. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
63bd25ed88
commit
510bc4782a
Executable
BIN
Binary file not shown.
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
name: browse
|
name: gstack-browse
|
||||||
version: 2.0.0
|
version: 2.0.0
|
||||||
description: |
|
description: |
|
||||||
Fast web browsing via persistent headless Chromium daemon. Navigate to any URL,
|
Fast web browsing via persistent headless Chromium daemon. Navigate to any URL,
|
||||||
@@ -19,7 +19,7 @@ Every subsequent call: ~100-200ms. Auto-shuts down after 30 min idle.
|
|||||||
|
|
||||||
## IMPORTANT
|
## IMPORTANT
|
||||||
|
|
||||||
- Use `~/.claude/skills/browse/dist/browse` (compiled binary) or `bun run ~/.claude/skills/browse/src/cli.ts` via Bash.
|
- Use `~/.claude/skills/gstack-browse/dist/browse` (compiled binary) or `bun run ~/.claude/skills/gstack-browse/src/cli.ts` via Bash.
|
||||||
- NEVER use `mcp__claude-in-chrome__*` tools. They are slow and unreliable.
|
- NEVER use `mcp__claude-in-chrome__*` tools. They are slow and unreliable.
|
||||||
- The browser persists between calls — cookies, tabs, and state carry over.
|
- The browser persists between calls — cookies, tabs, and state carry over.
|
||||||
- The server auto-starts on first command. No setup needed.
|
- The server auto-starts on first command. No setup needed.
|
||||||
@@ -27,7 +27,7 @@ Every subsequent call: ~100-200ms. Auto-shuts down after 30 min idle.
|
|||||||
## Quick Reference
|
## Quick Reference
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
B=~/.claude/skills/browse/dist/browse
|
B=~/.claude/skills/gstack-browse/dist/browse
|
||||||
|
|
||||||
# Navigate to a page
|
# Navigate to a page
|
||||||
$B goto https://example.com
|
$B goto https://example.com
|
||||||
@@ -187,7 +187,7 @@ browse restart Kill + restart server
|
|||||||
## Multi-step Workflow Example
|
## Multi-step Workflow Example
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
B=~/.claude/skills/browse/dist/browse
|
B=~/.claude/skills/gstack-browse/dist/browse
|
||||||
|
|
||||||
# Login flow
|
# Login flow
|
||||||
$B goto https://example.com/login
|
$B goto https://example.com/login
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@ const STATE_FILE = process.env.BROWSE_STATE_FILE || '/tmp/browse-server.json';
|
|||||||
const SERVER_SCRIPT = process.env.BROWSE_SERVER_SCRIPT
|
const SERVER_SCRIPT = process.env.BROWSE_SERVER_SCRIPT
|
||||||
|| (import.meta.dir.startsWith('/') && !import.meta.dir.includes('$bunfs')
|
|| (import.meta.dir.startsWith('/') && !import.meta.dir.includes('$bunfs')
|
||||||
? path.resolve(import.meta.dir, 'server.ts')
|
? path.resolve(import.meta.dir, 'server.ts')
|
||||||
: path.resolve(process.env.HOME || '/tmp', '.claude/skills/browse/src/server.ts'));
|
: path.resolve(process.env.HOME || '/tmp', '.claude/skills/gstack-browse/src/server.ts'));
|
||||||
const MAX_START_WAIT = 8000; // 8 seconds to start
|
const MAX_START_WAIT = 8000; // 8 seconds to start
|
||||||
|
|
||||||
interface ServerState {
|
interface ServerState {
|
||||||
|
|||||||
Reference in New Issue
Block a user