native_window_control

native_window_control is a skill for Claude Code, Codex from hyqibot/token-free-openclaw. It costs 95 tokens per session (687 once invoked), scanned A, original, Apache-2.0.

A guide for controlling an already-open Windows desktop application through its visible windows and controls. It can list windows, inspect controls, click buttons or tabs, and enter text.

In plain words
What is it for?
Use it to interact with an open Windows application, such as selecting a tab, clicking a control, or typing into a field.
Why use it?
It lets an agent operate native desktop software instead of only web pages. The guide also identifies the required Windows automation setup and command format.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to interact with an open Windows application, such as selecting a tab, clicking a control, or typing into a field.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hyqibot/token-free-openclaw/native_window_control
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add hyqibot/token-free-openclaw --skill native_window_control
Clone the repo
git clone --depth 1 https://github.com/hyqibot/token-free-openclaw

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for native_window_control

README.md
[![agentmods](https://agentmods.dev/badge/skills/hyqibot/token-free-openclaw/native_window_control/github.svg)](https://agentmods.dev/skills/hyqibot/token-free-openclaw/native_window_control)
Your own site
<a href="https://agentmods.dev/skills/hyqibot/token-free-openclaw/native_window_control"><img src="https://agentmods.dev/badge/skills/hyqibot/token-free-openclaw/native_window_control/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for native_window_control

Your own site · 80×15
<a href="https://agentmods.dev/skills/hyqibot/token-free-openclaw/native_window_control"><img src="https://agentmods.dev/badge/skills/hyqibot/token-free-openclaw/native_window_control.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 687 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00095 $0.00687
Opus 5 $0.00048 $0.00344
Sonnet 5 $0.00019 $0.00137
Haiku 4.5 $0.00010 $0.00069

Measured 10d ago against content hash 004be19ceeb8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

native_window_control scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/native_window.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

copaw/agents/skills/native_window_control/SKILL.md · 61 lines

How it starts

The opening of the file, as written. The whole thing — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Native Window Control (Windows UI Automation)

For already-open native desktop app windows: list windows, snapshot controls, click buttons/tabs, type into edit controls. Unlike browser tooling, this operates native desktop windows (exe, desktop apps), not web pages.

When to use

  • User says: "Click the Start button in XX app", "Click the second tab in XX window", "Type 123 into the input in XX window"
  • User wants the agent to operate an already-open desktop app UI (exe window with tabs/buttons)
  • Combine with screenshot tool: capture the window first, then use this skill to click or type

Prerequisites

  • OS: Windows only.
  • Dependencies: pip install pywinauto. Run the script from the skill's scripts/ directory with Python.

How to run (script in this skill)

This skill provides a Python script scripts/native_window.py. Run it from the skill directory (or with the script path pointing at this skill's scripts folder). Working directory should be the skill root or the folder containing native_window.py.

Usage:

python scripts/native_window.py <action> [window_title] [ref] [text]
  • list_windows — List visible windows (title, PID). No extra args.
    Example: python scripts/native_window.py list_windows

  • snapshot — Get control tree for a window (substring match on title).
    Example: python scripts/native_window.py snapshot "Notepad"
    Returns JSON with controls array; each has ref, control_type, name. Use ref for click/type_text.

  • click — Click a control by window title substring and ref.
    Example: python scripts/native_window.py click "Notepad" "2"

  • type_text — Type into a control.
    Example: python scripts/native_window.py type_text "Notepad" "1" "hello"

  1. list_windows → identify the target window title.
  2. snapshot with that title substring → get controls and refs.
  3. click or type_text with the same title and the chosen ref (and text for type_text).

Read the full file on GitHub · 61 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 61 lines · 95 tokens per session scan A 004be19ceeb8

Subscribe to this mod's changes

native_window_control is a skill published in the GitHub repository hyqibot/token-free-openclaw (122 stars, last pushed 17d ago), licensed Apache-2.0. It adds 95 tokens to every session and 687 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.