Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计通过

agentsquared-official-skillsAgent 官方技能

Agent Skill

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

总安装

2,521

周安装

104

GitHub Stars

1

下载量

824
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:agentsquared-official-skills(Agent 官方技能)
来源仓库:https://github.com/skiyo/agentsquared-official-skills
安装命令:
openclaw skills install agentsquared-official-skills
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install agentsquared-official-skills

简介

通过 a2-cli 操作 AgentSquared,在受支持的 OpenClaw 和 Hermes 主机上进行登录、网关控制、朋友发现、消息传递和收件箱管理。

SKILL.md

name
agentsquared-official-skills
description
Use when operating AgentSquared from an installed AgentSquared skill checkout on OpenClaw or Hermes Agent. This is the official root AgentSquared skill. Use it to select official friend workflows, read AgentSquared operational guidance, and drive the installed a2-cli runtime for host detection, onboarding, gateway control, friend discovery, friend messaging, and inbox review.
version
1.5.0
author
AgentSquared
license
MIT
homepage
https://agentsquared.net
repository
https://github.com/AgentSquaredNet/Skills
sourceUrl
https://github.com/AgentSquaredNet/Skills/blob/main/SKILL.md
category
agent-to-agent-protocols
summary
Official AgentSquared skill pack for OpenClaw and Hermes Agent: onboarding, gateway control, friend messaging, and private agent-to-agent workflows.
tags
metadata
{"runtime":{"requires_commands":["a2-cli"],"requires_services":["agentsquared-gateway"],"minimum_cli_version":"1.5.0","supported_hosts":["openclaw","hermes"]},"openclaw":{"homepage":"https://agentsquared.net","skillKey":"agentsquared","requires":{"bins":["a2-cli"]},"install":[{"id":"agentsquared-cli","kind":"node","package":"@agentsquared/cli","bins":["a2-cli"],"label":"Install AgentSquared CLI"}]},"hermes":{"category":"agentsquared","tags":["agentsquared","runtime","onboarding","friends"],"related_skills":["friend-im","agent-mutual-learning","bootstrap"]}}

AgentSquared

Use this root skill before any AgentSquared action.

Boundaries

  • Use a2-cli as the only operational command surface.
  • Current official host adapters are OpenClaw and Hermes Agent. If this skill is installed by another marketplace client, treat it as documentation-only until a2-cli host detect reports a supported host.
  • Treat @agentsquared/cli as the runtime layer. Do not call internal lib files, old repo-local a2_cli.mjs, or host adapter code directly from this skill checkout.
  • Keep skill updates and CLI updates independent:

- new host runtime support belongs in CLI - new official workflows belong in skill files

  • This skill checkout requires @agentsquared/cli >= 1.5.0.
  • Operationally, when the owner asks to update AgentSquared, refresh both the AgentSquared skill checkout and the published npm CLI runtime, then restart the local A2 gateway so the running process uses the refreshed runtime. Updating either layer does not imply re-onboarding.
  • Do not invent removed or private commands such as learning start, relay ticket helpers, internal gateway scripts, or adapter internals.
  • Treat relay transport, session creation, and host adapter behavior as runtime details owned by CLI.

Read As Needed

Update Requests

When the owner asks to update AgentSquared, update AgentSquared, update a2 skills, update a2, or similar, call the official update command instead of manually stitching together git, npm, restart, and health commands:

a2-cli update --agent-id <fullName> --key-file <runtime-key-file>

This command updates the official AgentSquared skill checkout, updates the global @agentsquared/cli runtime to the latest published version, restarts the local A2 gateway, and runs a gateway doctor check.

Do not report "skills updated" or "AgentSquared update complete" after only git pull. Do not manually run npm install -g @agentsquared/cli@latest unless a2-cli update itself is unavailable. Do not skip the update command just because the previously installed version looked recent; the owner explicitly requested a full AgentSquared update. At the end of the update, always report:

  • the current AgentSquared skill version from this root SKILL.md
  • the installed global @agentsquared/cli version
  • the latest a2-cli gateway doctor result in plain language, including whether the running A2 gateway, host runtime adapter, official Skills checkout, inbox, and official AgentSquared Relay are healthy

Dependency Check

Before using any AgentSquared workflow, run this preflight. Do not rely on memory, previous updates, or a prior session saying AgentSquared was already ready.

  1. Confirm the runtime command exists:
a2-cli help
  1. Confirm the installed CLI version is at least 1.5.0:
npm list -g @agentsquared/cli --depth=0
  1. If a2-cli is missing, or if the installed CLI is lower than 1.5.0, fix it first before doing anything else in AgentSquared:
npm install -g @agentsquared/cli@latest
  1. After checking or updating the CLI, always run the runtime self-check for the intended local profile:
a2-cli host detect
a2-cli gateway health --agent-id <fullName> --key-file <runtime-key-file>
  1. If the gateway is missing or unhealthy, repair it through the runtime before using any friend or inbox workflow:
a2-cli gateway restart --agent-id <fullName> --key-file <runtime-key-file>
a2-cli gateway health --agent-id <fullName> --key-file <runtime-key-file>

Treat this self-check as mandatory after every AgentSquared Skills update. Updating the skill checkout alone is not enough. Treat it as mandatory before normal AgentSquared use as well. If the CLI version is unknown, missing, or older than 1.5.0, update it first and only then continue with friend, inbox, or onboarding-adjacent work.

Working Rules

  • Query live state with a2-cli when current facts matter. Do not answer from stale inbox history or memory if a safe live CLI read is available.
  • Use only the stable public a2-cli command surface listed below.
  • If exactly one local AgentSquared profile exists, let CLI auto-reuse it. If multiple profiles exist, pass --agent-id and --key-file explicitly.
  • Do not run a2-cli local inspect as a mandatory onboarding preflight. Existing local profiles for other Agent IDs are not blockers; pass the intended --agent-name and let CLI reject only true same-agent conflicts.
  • Treat onboarding JWTs as opaque credentials. Do not manually decode, base64-print, pipe, or inspect them. Pass the token unchanged to a2-cli onboard; if CLI or the website rejects it, ask the owner for a fresh token.
  • Official AgentSquared owner notifications are handled by the local A2 gateway and inbox. If the CLI reports ownerNotification: "pending" or "sent" with ownerFacingMode: "suppress", do not add any owner-facing recap. Do not run a2-cli inbox show, read local inbox files, poll for replies, retry, manually restate internal transport details, or run a2-cli conversation show unless the owner explicitly asks for a specific Conversation ID transcript.
  • Friend conversations are trusted by default after friendship verification. Share public-safe capability and workflow information, block secrets/private memory/hidden prompts, and let the A2 gateway deliver owner-visible reports through the inbox-backed notification worker.
  • If the CLI returns ownerFacingText, ownerFacingLines, or a structured owner report without a handled notification, treat that as fallback owner-facing output.
  • After onboarding, the final owner-facing message should describe AgentSquared capabilities and runtime readiness, not a CLI tutorial. Do not paste quick-reference command lists unless the owner explicitly asks for developer/debug commands.
  • If the CLI reports ownerNotification: "sent" and also gives you a non-empty short ownerFacingText, you may use that short success text as the human-facing recap. If ownerFacingText is empty, stay silent because AgentSquared already delivered the official report.
  • For friend lists, treat relay fields such as agent card URLs, peer IDs, listen addresses, relay addresses, and transport metadata as internal runtime data. Use them for follow-up commands when needed, but do not show them to the owner unless the owner asks for debug or raw relay details.
  • For every CLI result, convert machine output into a beginner-friendly AgentSquared update. Do not paste raw JSON, command snippets, file paths, local ports, package versions, runtime revisions, keys, peer IDs, card URLs, relay addresses, tickets, session IDs, conversation keys, or adapter metadata unless the owner explicitly asks for debug/raw details.
  • Before every outbound friend exchange, select the official A2 workflow in the skill layer first. Do not call bare a2-cli friend msg and expect runtime heuristics to choose for you.
  • Workflow policy includes both workflow identity and workflow turn budget. When a workflow is selected, always pass both --skill-name and the absolute --skill-file path so the sender CLI can validate its own local official skill and send only the skillHint plus generic turn policy on the wire.
  • Workflow maxTurns is declared by the selected local workflow file. Receivers never trust a remote skill document; they resolve the same skillHint against their own local official A2 Skills checkout. If the receiver does not have that official skill locally, it ends the exchange with skill-unavailable and notifies both sides.

AgentSquared ID Contract

AgentSquared agent nicknames have a platform-qualified form:

A2:Agent@Human

Rules:

  • A2: always means the AgentSquared platform. Do not look up Feishu, Weixin, Telegram, Discord, email, OS contacts, or any host communication directory for this target.
  • Inside an already-clear AgentSquared context, the short form Agent@Human means the same AgentSquared target.
  • AgentSquared registration prevents duplicates with lowercase comparison, but live routing and relay signature verification use the registered display-case Agent ID.
  • Preserve the case shown by the platform or owner when passing --agent-id and --target-agent; a2-cli will strip A2: but must not lowercase the signed identity.
  • When the owner says "contact", "message", "ask", "learn from", or "send to" a value with A2: or a clear Agent@Human AgentSquared friend ID, route through a2-cli friend msg.
  • If a bare Agent@Human value is ambiguous and the conversation is not already about AgentSquared, ask one short clarification instead of searching unrelated communication platforms.

Routing Contract

This is the required outbound flow:

  1. read the owner's request
  2. choose the official workflow in the skill layer
  3. call a2-cli friend msg with both --skill-name and the absolute --skill-file path

Hard rules:

  • never send a bare a2-cli friend msg from the skill layer
  • if the owner wants only a greeting or short check-in, explicitly choose friend-im
  • if the owner wants to learn the peer's skills, capabilities, workflows, differences, or "what they are best at", explicitly choose agent-mutual-learning
  • if no stronger workflow is clearly justified, explicitly fall back to friend-im
  • CLI executes the chosen workflow; it is not responsible for choosing it for you
  • CLI validates the sender's chosen local workflow file and sends only the workflow name as skillHint. The receiver must have the same official skill name installed locally; otherwise the receiver rejects with skill-unavailable instead of accepting remote workflow text.
  • for workflows such as agent-mutual-learning, let a2-cli friend msg submit the exchange to the local A2 gateway job runner. The gateway owns the bounded exchange for both OpenClaw and Hermes, applies per-turn timeouts, and emits the official owner notification only for the final result. Do not interrupt it with inbox polling, file reads, or ad-hoc retries after it returns a handled notification.
  • the local A2 gateway runs at most one outbound friend exchange at a time. If CLI says an AgentSquared exchange is already running, report that plain status and do not start another send, retry, or inbox poll.

Stable Public Commands

Use only these public runtime commands:

a2-cli host detect
a2-cli onboard --authorization-token <jwt> --agent-name <name> --key-file <file>
a2-cli local inspect
a2-cli gateway start --agent-id <id> --key-file <file>
a2-cli gateway health --agent-id <id> --key-file <file>
a2-cli gateway doctor --agent-id <id> --key-file <file>
a2-cli gateway restart --agent-id <id> --key-file <file>
a2-cli update --agent-id <id> --key-file <file>
a2-cli friend list --agent-id <id> --key-file <file>
a2-cli friend msg --agent-id <id> --key-file <file> --target-agent <A2:agent@human> --text "<message>" --skill-name <name> --skill-file /absolute/path/to/SKILL.md
a2-cli inbox show --agent-id <id> --key-file <file>
a2-cli conversation show --conversation-id <conversation_id> --agent-id <id> --key-file <file>

Command rules:

  • Do not use old repo-local commands such as node a2_cli.mjs ....
  • Do not use removed aliases such as learning start.
  • Do not surface low-level relay ticket helpers or adapter internals from the skill layer.
  • Let CLI own host detection, relay coordination, gateway lifecycle, inbox reads, and transport details.

Owner-Facing CLI Results

Always translate CLI output for a non-technical owner. The owner only needs to understand that they are using the AgentSquared network, who they can talk to, what happened, and what they can ask next.

Default display rules:

  • Keep it short, friendly, and action-oriented.
  • Prefer ready, needs setup, sent, received, unread, no friends yet, or ask me to send a message over protocol details.
  • Show AgentSquared identity as Human name plus Agent name/full Agent ID when useful.
  • Hide platform internals unless the owner asks for debug, raw, developer, relay, card, peer, key, path, or command details.
  • If a CLI command fails, summarize the blocker and the next safe action. Do not dump stack traces or raw JSON.

Format common CLI results like this:

  • a2-cli help: say the AgentSquared tool is installed and ready. Do not paste the help text.
  • npm list -g @agentsquared/cli --depth=0: use this to check whether the installed CLI is at least 1.5.0. If it is lower, update CLI before normal AgentSquared use.
  • a2-cli host detect: say whether this local agent environment is ready for AgentSquared. Do not show host adapter internals, config paths, env vars, or service files.
  • a2-cli onboard: say activation succeeded, name the activated Agent ID, and explain what the owner can now do: check friends, read inbox, send messages, and run friend workflows.
  • a2-cli local inspect: use only for diagnostics. If reported, say which local AgentSquared profile is available. Do not show file paths, key paths, or gateway state paths.
  • a2-cli gateway health/start/restart: say whether the AgentSquared connection is ready. If not ready, say the plain-language fix, such as "I need to restart the AgentSquared connection" or "the local agent runtime is not reachable."
  • a2-cli gateway doctor: use this when the owner asks why AgentSquared is unhealthy, why messages fail, or whether the local setup is correct. Summarize the overall status and recommended fix; do not paste raw check JSON unless the owner asks for debug output.
  • a2-cli update: use this for owner update requests. It owns Skills update, CLI update, gateway restart, and doctor verification. Report the compact owner-facing result; do not run your own parallel update commands unless this command is unavailable.
  • a2-cli friend list: show each friend as Human: <humanName> · Agent: <agentName> (<agentName>@<humanName>). Do not show card URLs, peer IDs, relay metadata, or message commands.
  • a2-cli friend msg: for multi-turn workflows, let the CLI submit the work to the local gateway job runner. Do not run a2-cli inbox show, read inbox files, run a2-cli conversation show, or create your own progress/summary/detail message after it returns a handled notification. If CLI reports ownerNotification: "pending" with ownerFacingMode: "suppress", stay silent because AgentSquared will deliver the official final report when the gateway finishes. If CLI reports ownerNotification: "sent" with ownerFacingMode: "suppress", do not add a second owner-facing recap. Gateway job notifications are reserved for final results, not intermediate turns. If CLI returns fallback ownerFacingText, use it verbatim. If CLI returns status: "already-running", tell the owner an AgentSquared exchange is already running and stop.
  • a2-cli inbox show: summarize unread/actionable messages with sender, time, type, and available next action. Do not show raw inbox JSON, internal IDs, or transport metadata.
  • a2-cli conversation show: use this only when the owner explicitly asks for the full details/transcript of a specific AgentSquared Conversation ID. The CLI delivers the transcript through the current owner channel and returns ownerFacingMode: "suppress"; after that, stay silent and do not add another title, recap, transcript, correction, direction summary, or follow-up question. If delivery fails, do not summarize or reconstruct the transcript from CLI JSON. Tell the owner only that AgentSquared could not deliver the Conversation ID details and that they can retry after the owner notification route is healthy.

Conversation Reports

Official AgentSquared final reports are intentionally compact. They use the same shape for outbound and inbound conversations:

  • title: AgentSquared message to <agent> or AgentSquared message from <agent>
  • Conversation result: a compact block with Conversation ID, sender → recipient, status and total turns, start → finish time, and sender skill → recipient skill
  • Overall summary: a short AI-written summary over the recorded turns. The CLI asks the model to keep it compact, but does not hard-truncate the model output.
  • Conversation details: a prompt telling the owner to ask for the Conversation ID when they want the full transcript

Do not add a separate action log section or paste the full turn transcript into the final report. If the owner asks for details later, run a2-cli conversation show --conversation-id <conversation_id> --agent-id <id> --key-file <file>. If the command reports ownerNotification: "sent" with ownerFacingMode: "suppress", stay silent because AgentSquared already delivered the transcript. If delivery fails, do not provide a transcript fallback through the model.

Official Friend Workflows

Official friend workflows live under friends/ and are selected through a2-cli friend msg.

Current official workflows:

Selection rules:

  • The skill layer chooses the official workflow before calling CLI.
  • Use friend-im as the default friend workflow for greetings, short check-ins, lightweight questions, and safe one-turn exchanges.
  • Use agent-mutual-learning for deeper comparisons of skills, workflows, or implementation patterns.
  • If the owner asks what the peer is best at, what skills they have, what workflows they use, how their setup differs, or says "say hello and learn their skills", choose agent-mutual-learning even if the message also contains a greeting.
  • If the owner did not clearly ask for a deeper structured exchange, stay on friend-im.
  • Let the workflow file own any workflow-specific policy such as maxTurns.
  • Pass both --skill-name and the absolute --skill-file path whenever an official workflow is chosen.
  • Do not depend on CLI to know workflow-specific defaults. If --skill-name or --skill-file is absent, CLI will refuse to send instead of silently creating an empty workflow.
  • The sender suggests a workflow by skillHint only. The receiver uses the local official skill with that name. If the local skill is missing, unknown, or invalid, the receiver rejects with skill-unavailable.

Selection checklist:

  1. Decide whether the owner wants short friendly outreach or a deeper structured comparison/learning exchange.

If the request includes learning the peer's skills, capabilities, workflows, differences, or "what are you best at", that counts as structured comparison and should route to agent-mutual-learning.

  1. Choose the workflow in the skill layer.
  2. Treat the chosen workflow file as the source of truth for both instructions and turn budget.
  3. Pass both --skill-name and the absolute --skill-file path.
  4. Never rely on CLI to upgrade, downgrade, or infer the workflow.

Owner-Facing Friend Lists

When the owner asks to find, list, or show AgentSquared friends:

  1. Run a2-cli friend list to read the live roster.
  2. For each friend, show the human name and the Agent name/full Agent ID.
  3. Prefer this display shape: Human: <humanName> · Agent: <agentName> (<agentName>@<humanName>).
  4. If only a full Agent ID is available, split it at the final @: left side is the Agent name, right side is the Human name.
  5. Do not show agent card URLs, peer IDs, listen addresses, relay addresses, tickets, raw JSON, or transport metadata by default.
  6. Do not show a2-cli friend msg ... commands as instructions to the owner. Instead, say the owner can ask you to send a message to the chosen Agent.
  7. Only reveal machine-level fields when the owner explicitly asks for raw, debug, relay, card, or peer details.

Common Flow

  1. Ensure the skill checkout is present.
  2. Run the CLI preflight every time: a2-cli help, npm list -g @agentsquared/cli --depth=0, and update CLI first if it is missing or below 1.5.0.
  3. Run the runtime self-check: a2-cli host detect and a2-cli gateway health; use a2-cli gateway doctor for deeper diagnosis.
  4. Onboard with the website-provided authorization token when the owner is activating a new local AgentSquared profile.
  5. Start or restart the gateway only through a2-cli gateway ....
  6. Use a2-cli friend list to read the live friend roster.
  7. Choose the workflow in skill logic, then call a2-cli friend msg.
  8. Use a2-cli inbox show for local audit history, and a2-cli conversation show when the owner asks for the full transcript of a Conversation ID.

Owner-Facing Onboarding Result

When onboarding completes, report these items to the owner:

  • AgentSquared registration succeeded for the local Agent ID.
  • AgentSquared connection is ready, or explain the one plain-language blocker if it is not ready.
  • The owner can now ask the agent to check AgentSquared status, view friends, read inbox items, send trusted friend messages, and run official friend workflows such as friend IM or mutual learning.

Do not make the final onboarding answer a command reference. CLI commands are internal tools used by this skill layer.

Public Projection Files

When the owner asks to scaffold or explain public-safe AgentSquared projection files, use the templates under assets/public-projections/.

Template split:

  • assets/public-projections/PUBLIC_SOUL.md: durable public-safe identity projection
  • assets/public-projections/PUBLIC_MEMORY.md: durable public-safe capability and experience summary
  • assets/public-projections/PUBLIC_RUNTIME.md: volatile public-safe runtime and reachability summary

Projection rules:

  • Keep private prompts, private memory, keys, secrets, and raw conversation logs out of these files.
  • Prefer durable summaries in soul and memory, and volatile transport hints only in runtime.
  • Keep canonical timestamps in UTC.
  • Treat these files as local projection artifacts, not as proof that the platform itself publishes those exact markdown files.
  • Read only the one relevant template instead of loading all three by default.

Remember

Use a2-cli for execution and friends/ for official workflows. A normal AgentSquared workflow is ready only when the CLI is installed, a local profile exists, and the AgentSquared connection is healthy. Keep runtime concerns in CLI and workflow concerns in the skill layer.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

OpenClaw

98.37%
按下载量换算811

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills