agentleFS
nathwn12nathwn12/hand/skills/routing/SKILL.md

routing

Skill0 starsChanged 3 days agoMITView on GitHub

Route work between hand's browser and desktop domains and avoid damaging the host; sessions, scoping, and cleanup rules.

22 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use parallelization, prompt-chaining and 2 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • hajekimSkill

    parallelization

    This skill should be used when the user wants to "run tasks in parallel", "concurrent LLM calls", "fan-out and fan-in", "parallel agents", "simultaneous execution", "reduce latency with concurrency", "parallel sub-tasks", "parallel processing", "concurrent agent execution", "run agents simultaneously", "speed up with parallelism", "async agent execution", "batch LLM calls", "parallel workflow", "parallelize agent tasks", or needs to execute multiple independent tasks simultaneously. Also responds to Korean: "병렬 작업 실행", "동시 LLM 호출", "팬아웃 팬인 패턴", "병렬 에이전트", "동시 실행", "동시성으로 지연 시간 감소", "병렬로 실행", "동시에 여러 작업", "병렬 처리", "동시에 돌려줘", "빠르게 병렬로", "여러 작업 동시 실행해줘". Also responds to Japanese: "並列処理", "同時実行", "並列エージェント", "並行LLM呼び出し", "ファンアウト・ファンイン", "複数タスクを同時に実行したい", "処理速度を上げたい", "非同期エージェント", "バッチ処理", "並列で動かしたい" Also responds to Chinese: "并行处理", "并发执行", "并行智能体", "同时调用多个LLM", "扇出扇入模式", "多任务并行运行", "加快处理速度", "异步智能体", "批量LLM调用", "同时运行多个任务".. Apply this skill to design or implement the Parallelization agentic design pattern.

    Also in 3 projects that use this

  • hajekimSkill

    prompt-chaining

    This skill should be used when the user wants to "chain prompts", "build a pipeline", "break down complex tasks into steps", "sequential LLM calls", "multi-step reasoning", "pipeline pattern", "sequential agent pipeline", "multi-step prompt pipeline", "LLM chain", "step-by-step agent", "prompt pipeline", "decompose task into prompts", "stage-by-stage processing", "chained LLM calls", or when a task is too complex for a single prompt and needs to be decomposed into sequential sub-tasks. Also responds to Korean: "프롬프트 체이닝", "체인 방식 에이전트", "단계별 LLM 호출", "복잡한 작업 분해", "순차적 프롬프트 파이프라인", "단계적 작업 처리", "단계별 처리", "순차 처리 에이전트", "파이프라인 만들어줘", "단계적으로 처리해줘", "연속 프롬프트", "체이닝 해줘". Also responds to Japanese: "プロンプトチェーニング", "ステップごとに処理", "順次LLM呼び出し", "パイプライン構築", "複雑なタスクを分解", "段階的エージェント", "連続プロンプト", "LLMパイプライン", "順番に処理してほしい", "チェーン方式エージェント" Also responds to Chinese: "提示词链", "顺序调用LLM", "构建流水线", "分解复杂任务", "逐步处理", "链式提示", "多步骤流水线", "按顺序处理任务", "提示词管道", "帮我一步一步处理".. Apply this skill to design, implement, or explain the Prompt Chaining agentic design pattern.

    Also in 3 projects that use this

  • klauswgSkill

    performance

    Optimize web performance for faster loading and better user experience. Use when asked to "speed up my site", "optimize performance", "reduce load time", "fix slow loading", "improve page speed", or "performance audit".

    Also in 3 projects that use this

  • NVIDIASkill

    testing

    Run Python and Rust tests for physicsnemo-curator using uv + pytest with coverage reporting via pytest-cov, and cargo-nextest for Rust tests. Includes benchmark workflows with pytest-benchmark and criterion.

    Also in 5 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 20 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Never drive a native app through the browser, or a web page through UI Automation.

    line 14
  2. Distinctive:

    Never touch the foreground window, the physical pointer, or the clipboard unless the call opts in explicitly.

    line 25
  3. Distinctive:

    Default desktop actions post to the chosen window without focus, pointer movement, or clipboard writes.

    line 26
  4. Distinctive:

    Do not pass these flags "just in case".

    line 30
  5. Distinctive:

    Verify before reporting: a tool result is delivery, not proof.

    line 35

“Common” is measured: kept by at least 6 in 10 of the 20 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

routing

hand exposes two domains over one stdio MCP connection: browser_(headless Chrome over CDP) and desktop_ (Windows apps through UI Automation). Pick by where the target lives, not by convenience.

Choose the domain

  • Web page, DOM, network, console, storage, screenshot of a page, extension popup, or anything reachable by URL: use browser_*.
  • A native window, installer, dialog, tray app, or anything outside the browser: use desktop_*.
  • Never drive a native app through the browser, or a web page through UI Automation. If a task spans both, run them as separate steps and keep their state separate.

Sessions and scoping

  • One MCP connection owns one browser engine and one desktop session. Named browser contexts (browser_context) give separate cookie/storage jars; a context does not share tabs with the legacy page.
  • browser_snapshot, browser_assert, and browser_evaluate read the legacy page unless context: (and page: when the context holds several) is passed. An unknown context or page is refused typed; there is no fallback to the legacy page.
  • Desktop actions always name a target window (hwnd or titleContains); a dead target returns a typed refusal. A window handle is never assumed to survive a close or relaunch.
  • Cancellation or budget expiry answers outcome: unknown, retry: unsafe. Do not retry unless you can verify state or the call is read-only.

The rule that prevents damage

  • Never touch the foreground window, the physical pointer, or the clipboard unless the call opts in explicitly.
  • Default desktop actions post to the chosen window without focus, pointer movement, or clipboard writes.
  • desktop_do with allow_cursor:true moves the real pointer (point guard, then restored); allow_clipboard:true writes the real clipboard (optional restore); allow_foreground:true focuses a window.
  • desktop_window needs allow_foreground:true for focus or maximize.
  • browser_clipboard writes replace the owner's clipboard text and need allow_clipboard:true.
  • Do not pass these flags "just in case". Pass them only when the task requires it and the consequence is understood.

Cleanup

  • Close what you open: tabs, contexts, traces, downloads. A launched browser profile is owned and reaped on EOF; an attached engine (GLADIUS_CDP_URL) is not.
  • Verify before reporting: a tool result is delivery, not proof. Re-read state or capture evidence.
  • On failure, prefer typed errors and refusals over retries; a refused call leaves state intact.

Evidence and verification

  • A snapshot, screenshot, or assertion is evidence; a tool's success flag is delivery. Re-check after acting.
  • Typed errors name the cause (stale ref, dead target, missing policy flag). Read them before retrying.
  • For desktop, prefer posted input on a named window; reserve cursor, clipboard, and focus opt-ins for cases that truly need them.

Download now (ZIP)

Does 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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.