Token导航 LogoToken导航

Agent Skill · 研究检索

agent-native(Agent 本机)

agent-native 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

agent-native 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 70,604。

总安装 210周安装 9GitHub Stars 2下载 73核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:agent-native(Agent 本机)
来源仓库:https://github.com/ericclemmons/agent-native
仓库路径:skills/agent-native
安装命令:
npx skills add https://github.com/ericclemmons/agent-native --skill agent-native
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ericclemmons/agent-native --skill agent-native

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

agent-native 专用于 macOS 原生应用自动化,基于辅助功能树进行操作。支持 Safari、Arc 等已知浏览器及其他桌面程序的元素级交互。优先复用已打开应用实例以减少启动开销并提升操作效率。需提前授予终端辅助功能权限方可正常使用相关 API 能力。

适用于 macOS 13+ 环境,二进制文件需预先编译并放置于 PATH 路径下。

来源仓库内路径:skills/agent-native

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/ericclemmons/agent-native --skill agent-native;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

agent-native 怎么安装?

在终端执行 npx skills add https://github.com/ericclemmons/agent-native --skill agent-native。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

agent-native 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

agent-native 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

agent-native 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

agent-native 用的人多吗?

公开数据是累计安装 210 次,近一周安装 9 次,下载 73 次,GitHub 2 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

agent-native 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
agent-native

Agent 本机 · 本页

2102操作浏览器未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

agent-native

macOS native app automation via the Accessibility tree. Like agent-browser, but for desktop apps.

Prerequisites

  • macOS 13+ with Accessibility permissions granted to your terminal
  • Binary at agent-native (install via swift build -c release && cp.build/release/agent-native /usr/local/bin/)

Core Workflow

apps -> pick/open target -> snapshot -> interact by ref -> re-snapshot

  1. Always start with agent-native apps to see what's already running. Prefer reusing an already-open app (e.g. if a browser is already open, use it instead of opening a different one).

- Known browsers: Safari, Arc, Chrome, Firefox, Helium. Any of these can be used for web tasks.

  1. Only call agent-native open <app> if the target app isn't already running.
  2. Snapshot, interact, and re-snapshot as needed.
agent-native apps                            # Check what's already running
agent-native snapshot Safari -i              # Use the already-open browser
agent-native click @n5                       # Interact using refs
agent-native snapshot Safari -i              # Re-snapshot after UI changes

Always re-snapshot after actions that change the UI. Refs are invalidated when UI structure changes.

Commands

Navigation

agent-native open <app>                          # Open/activate by name or bundle ID
agent-native open "System Settings"
agent-native open com.apple.Safari               # Already-running apps just activate

Screenshot

agent-native screenshot <app> [path]             # Capture app's frontmost window
agent-native screenshot Slack                    # Saves to /tmp/agent-native-screenshot.png
agent-native screenshot Slack /tmp/slack.png     # Custom path
agent-native screenshot Slack --json             # {"path": "...", "width": ..., "height": ...}

Keystroke Sending

agent-native key <app> <keys...>                 # Send keystrokes to an app
agent-native key Slack "Hello world"             # Type text
agent-native key Slack cmd+k                     # Send Cmd+K
agent-native key Slack escape                    # Special keys: escape, return, tab, delete, up, down, left, right, space
agent-native key Slack cmd+a delete              # Chain multiple keys
agent-native key Calculator 5 + 3 return         # Multiple keystrokes

Modifiers: cmd/command, ctrl/control, alt/option/opt, shift

Paste File

agent-native paste <app> <path>                  # Copy file to clipboard and Cmd+V into app
agent-native paste Slack /tmp/screenshot.png     # Paste image into Slack
agent-native paste Slack ./report.pdf            # Paste any file

Snapshot (recommended for agents)

agent-native snapshot <app>                      # Full AX tree with refs
agent-native snapshot <app> -i                   # Interactive elements only (recommended)
agent-native snapshot <app> -i -c                # Interactive + compact
agent-native snapshot <app> -d 3                 # Limit depth
agent-native snapshot <app> -i --json            # JSON for parsing
FlagDescription
-iInteractive elements only
-cCompact -- remove empty structural elements
-d <n>Limit tree depth
--jsonJSON output

Interaction (use @refs from snapshot)

agent-native click @n2                           # Click / press
agent-native fill @n3 "text"                     # Clear field and type
agent-native type @n3 "text"                     # Type without clearing
agent-native select @n5 "Option A"               # Select from dropdown
agent-native check @n4                           # Check checkbox (idempotent)
agent-native uncheck @n4                         # Uncheck checkbox (idempotent)
agent-native focus @n3                           # Focus element
agent-native hover @n2                           # Move cursor to element
agent-native action @n7 AXIncrement              # Any AX action

Read State

agent-native get text @n1                        # Get text / title / label
agent-native get value @n3                       # Get input value
agent-native get attr @n2 AXEnabled              # Get any AX attribute
agent-native get title Safari                    # Frontmost window title
agent-native is enabled @n5                      # true / false
agent-native is focused @n3                      # true / false

Discovery

agent-native apps                                # List running GUI apps
agent-native apps --format json                  # JSON output
agent-native find <app> --role AXButton          # Find elements by filter
agent-native find <app> --title "Submit"         # Find by title
agent-native inspect @n3                         # All attributes and actions
agent-native tree <app> --depth 3                # Raw AX tree (no refs)

Wait

agent-native wait <app> --title "Apply" --timeout 5
agent-native wait <app> --role AXSheet --timeout 10

Browser & Electron Enhanced Access

Chromium browsers (Arc, Chrome, Edge, Brave, Vivaldi) and Electron apps don't expose web DOM content in the macOS AX tree by default. snapshot now auto-detects these apps and enhances access automatically.

Priority chain: CDP read → AX-enhanced interact → keyboard fallback → screenshot

Automatic Detection in snapshot

agent-native snapshot Arc -i                      # Auto-detects Chromium, enables AX enhancement
agent-native snapshot "VS Code" -i                # Auto-detects Electron, enables AX enhancement

When snapshot detects a Chromium/Electron app:

  1. CDP mode (richest): If browser was launched with --remote-debugging-port, snapshot reads the full web accessibility tree via Chrome DevTools Protocol
  2. AX-enhanced mode (fallback): Sets AXEnhancedUserInterface to force the app to build its accessibility tree, then walks it normally

CDP Mode (richest web content)

Launch your browser with CDP enabled for the best results:

# Launch Chrome with CDP
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222

# Snapshot auto-detects CDP on ports 9222/9229
agent-native snapshot Chrome -i

# Or specify a port explicitly
agent-native snapshot Chrome -i --port 9222

Manual Persistent Control

agent-native ax-enable Arc                        # Persistently enable AXEnhancedUserInterface
agent-native snapshot Arc -i                      # Now shows web page elements
agent-native ax-disable Arc                       # Restore when done

Fallback: Keyboard Shortcuts + Screenshots

When AX tree is still sparse (some Electron apps), fall back to keyboard-driven interaction:

agent-native key Slack cmd+k                     # Open quick switcher
agent-native key Slack "channel name" return     # Type and confirm
agent-native screenshot Slack /tmp/slack.png     # Visual confirmation
agent-native get title Slack                     # Check navigation state

Pasting files into apps

agent-native paste Slack /path/to/image.png      # Copies to clipboard and pastes in one step

Tips

  • Always use -i with snapshot -- full trees are noisy.
  • Re-snapshot after navigation -- old refs may not resolve after UI changes.
  • check/uncheck are idempotent -- they read current state first.
  • fill clears first, type appends.
  • AX tree peers into browsers -- Safari/Chrome expose web content as AX nodes.
  • Electron apps need keyboard shortcuts -- use System Events keystrokes when AX is sparse.

平台分布

Codex

37.22%
按下载量换算27

Claude

31.59%
按下载量换算23

Cursor

19.19%
按下载量换算14

Gemini CLI

9.8%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills