EB

einsia/browser-bc

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

563 stars 质量 56 趋势 5

einsia/browser-bc 是从 https://github.com/einsia/browser-bc. 导入的一个代理技能候选人。

概览

einsia/browser-bc 是从 https://github.com/einsia/browser-bc. 导入的一个代理技能候选人。

概述(AI 翻译)

我们论文的商品化配套 通过技能蒸馏在浏览器上进行可扩展行为克隆(arXiv:2606.32014)。参见论文及引文。

记录你自己的浏览器任务→每个网站积累的桶 能力,每种能力都浓缩成一个可重复使用的技能→使用它们 在Claude桌面版(和Claude代码)中。一个单用户本地产品。你带 你自己的LLM API密钥。运行时纯Python(不需要Node)。不是基准测试。

每个网站都是一个能力桶文件夹,例如: github.com/{login-with-credentials, signup-with-email, …} —— 新录音是 被原子化为多个段,每个段又被分类为能力和段 同样的能力汇聚成一个桶,最终提炼成一个技能。

布局

路径 什么
entry/main.py 桌面入口 — 启动服务器,在浏览器中打开面板
app/dist/index.html 控制面板(零构建,服务器服务)
extension/ 记录器(产品叉:指向本地主机,仅自由形式)
server/server.py 本地摄取 + 控制 API
harness/ 蒸馏流水线:原子化/分类/桶/蒸馏/安装(纯Python)

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Journey Forge Local

Productized companion to our paper Scalable Behaviour Cloning on Browser Using via Skill Distillation (arXiv:2606.32014). See Paper & citation.

Record your own browser tasks → each website accumulates a bucket of capabilities, and every capability distills into one reusable skill → use them in Claude Desktop (and Claude Code). A single-user, local product. You bring your own LLM API key. Pure Python at runtime (no Node needed). Not a benchmark.

extension (record free-form task)
   └─► localhost server :8099   /v1/traces/init → chunks → finalize
          └─ assemble → data/traces//trace.json  (intent + events)
          └─ background harness pipeline:
               atomize → classify (capability) → bucket (per domain+capability)
               → distill bucket → SKILL.md + TRACE_GUIDE.md  → install
                 ├─ Claude Code:    ~/.claude/skills/-/SKILL.md (auto)
                 └─ Claude Desktop: .zip → upload via Settings → Skills
   /api/buckets  exposes per-site capability buckets + skills

Each website is a folder of capability buckets, e.g. github.com/{login-with-credentials, signup-with-email, …} — a new recording is atomized into segments, each segment classified into a capability, and segments of the same capability pooled into one bucket that distills into one skill.

Layout

Path What
entry/main.py Desktop entry — starts the server, opens the panel in your browser
app/dist/index.html Control panel (zero-build, served by the server)
extension/ The recorder (product fork: points at localhost, free-form only)
server/server.py Local ingestion + control API
harness/ Distillation pipeline: atomize / classify / bucket / distill / install (pure Python)
harness/main.py CLI: ingest / distill / status / consolidate / query
scripts/start.sh Headless dev launcher
docs/ Trace schema + Claude Desktop setup

State lives under data/harness/: buckets.json, registry.json, and skills///{SKILL.md,TRACE_GUIDE.md,meta.json,evidence.jsonl}.

Quick start

  1. Configure & run the server

    cp config.example.env .env.local      # then set SF_LLM_KEY=sk-ant-...
    ./scripts/start.sh                     # or: python entry/main.py  (native window)
    

    The panel is at . The server seeds a default key (jfl-local-dev-key) the extension ships with, so it connects automatically.

  2. Build & load the extension

    cd extension && pnpm install && pnpm build
    

    Chrome → chrome://extensions → enable Developer mode → Load unpacked → select extension/dist/chrome-mv3. It’s pre-pointed at the local server.

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add einsia/browser-bc
新手?先看 mcpskill.org 教程 →