Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计提醒

agent-nativeAgent 本机

Agent Skill

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

总安装

2,540

周安装

108

GitHub Stars

33

下载量

890
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

agent-native 将 Agent 视为一等公民,使其具备与用户相同的 UI 操作能力,通过原子工具完成任务。

  • 适用于 Codex、Claude、Cursor、Gemini CLI 中需要实现功能对等、细粒度控制和组合能力的场景。
  • 通过 GitHub 安装,结合核心原则和工具设计文档进行使用。
  • 安装前需确认权限范围、维护状态,以及是否会触发文件读写或系统操作。
  • 建议在使用时核对实体目录结构和上下文管理机制,确保状态一致性和操作安全性。

SKILL.md

Agent-Native

Agent-native applications treat agents as first-class users. Whatever a human can do through the UI, an agent can achieve through tools. Features are outcomes described in prompts, achieved by an agent with atomic tools, operating in a loop until done.

Reference Files

FileRead When
references/core-principles.mdDefault: understanding Parity, Granularity, Composability, and Emergent Capability
references/tool-design.mdDesigning tools — atomic primitives, CRUD, domain tools, dynamic discovery
references/files-and-context.mdState management — entity directories, context.md, context injection, files vs database
references/agent-ui-communication.mdBuilding agent feedback — completion signals, partial completion, event types
references/mobile-specifics.mdiOS/mobile — checkpoint/resume, iCloud storage, background execution

Core Principles

  • Parity — Agent can achieve anything users can do through the UI. Build a capability map; close every gap.
  • Granularity — Tools are atomic primitives. Judgment and decision logic live in prompts, not tool implementations. To change behavior, edit prose, not code. # Anti-pattern: workflow-shaped tool analyze_and_organize(folder) # bundles judgment into code # Agent-native: atomic primitives list_files(folder) → read_file(path) → move_file(src, dst) → write_file(path, content) # The agent decides what to move and where — judgment stays in the prompt
  • Composability — New features = new prompts. With atomic tools and parity, you describe an outcome and the agent loops until it's achieved.
  • Emergent capability — The agent handles requests you didn't design for. Observe what users ask; formalize patterns that emerge.
  • Improvement over time — State persists via context files. Prompts can be updated for all users without shipping code.

Design Workflow

  1. Capability audit — Map every UI action to an agent equivalent. Close any gap. Read core-principles.md.
  2. Tool surface design — Define atomic primitives for every entity (CRUD). Add domain tools only for vocabulary, guardrails, or efficiency. Read tool-design.md.
  3. Context and state planning — Design the context.md file, entity directory structure, and system prompt injection. Read files-and-context.md.
  4. Agent-UI feedback design — Define completion signals, event types, shared workspace, and approval gates. Read agent-ui-communication.md.
  5. Validate — Run the checklist below. Describe an unbuilt outcome and test whether the agent can figure it out.

Design Checklist

Copy and track during design:

Agent-native design progress:
- [ ] Capability map: every UI action has an agent equivalent
- [ ] Tools are atomic primitives (judgment in prompts, not tools)
- [ ] Every entity has full CRUD tool coverage
- [ ] System prompt injects available resources and capabilities
- [ ] Agents and users share the same data space
- [ ] Agent actions reflect immediately in UI
- [ ] Completion is signaled explicitly (no heuristic detection)
- [ ] External APIs use dynamic capability discovery where possible
- [ ] Approval model matches stakes and reversibility
- [ ] Ultimate test: describe an unbuilt outcome — can the agent figure it out?

Validation Loop

Before shipping, verify:

  1. Capability coverage — Pick 5 random UI actions; confirm the agent can accomplish each without touching code.
  2. Tool atomicity — Review every tool; if it contains if/else decision logic, split it.
  3. Context completeness — Clear the agent's context and start a session; does it still know what exists?
  4. End-to-end scenario — Give the agent an outcome you never explicitly built. Does it compose tools to get there?

Anti-Patterns

  • Agent as router — Agent routes to your code instead of acting with judgment; you've built a dispatcher, not an agent.
  • Workflow-shaped toolsanalyze_and_organize bundles decision logic into a tool; break into read_file, move_file, write_file.
  • Orphan UI actions — User can do something the agent can't; breaks parity.
  • Context starvation — Agent doesn't know what exists; inject resources and capabilities into every system prompt.
  • Gates without reason — Domain tool is the only path when primitives should also work; default to open.
  • Heuristic completion detection — Detecting done via consecutive idle iterations; require an explicit completion tool call.
  • Static API mapping — 50 tools for 50 endpoints; use discover + access instead.

Related Skills

  • define-architecture — repo structure and module boundaries before going agent-native
  • agents-md — audit CLAUDE.md / AGENTS.md for agent instruction quality

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

32.83%
按下载量换算292

Claude

32.26%
按下载量换算287

Cursor

18.48%
按下载量换算164

Gemini CLI

10.27%
按下载量换算91

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills