返回顶部
a

agentfiles

Use this skill when you need to publish, fetch, search, list, share, or watch AgentFiles artifacts from Codex, Claude Code, OpenClaw, or other agent runtimes. This skill wraps the AgentFiles CLI (`agentfiles-cli` on npm).

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.2
安全检测
已通过
93
下载量
0
收藏
概述
安装方式
版本历史

agentfiles

# AgentFiles Use this skill for runtime-facing AgentFiles work: - publish files or text as artifacts - fetch artifact content or metadata - search or list recent artifacts - create share links - verify the current principal with `whoami` - run polling `watch` loops for sidecars or wrappers Do not reimplement AgentFiles API calls inside the skill unless the user explicitly asks for a direct API path. This skill is a thin wrapper around the existing CLI. ## Workflow 1. Run AgentFiles commands directly: `agentfiles <subcommand> ...`. 2. Pass argv directly. Never build shell strings around AgentFiles commands. 3. If a command needs auth or namespace context, start with `agentfiles whoami` or `agentfiles config --show`. 4. Prefer `agentfiles setup` for default onboarding. Use `connect <runtime>` only when the user wants a dedicated runtime credential. 5. For `watch`, remember that V1 is polling-only. Read `references/runtime-notes.md` when you need caveats or troubleshooting. ## Common Patterns - Verify auth: `agentfiles whoami` - Show config: `agentfiles config --show` - Publish text: `agentfiles publish --content "..." --title "..."` - Publish file: `agentfiles publish ./path/to/file -n <namespace> --title <title>` - Fetch content: `agentfiles get <artifact-id>` - Fetch metadata: `agentfiles get <artifact-id> --meta` - Search: `agentfiles search "<query>" -n <namespace>` - List: `agentfiles list -n <namespace>` - Share: `agentfiles share <artifact-id>` - Watch: `agentfiles watch -n <namespace> --json` ## Handoff - Hand off with content: `agentfiles handoff codex --content "Please review this patch"` - Pipe content: `echo "review notes" | agentfiles handoff codex` - Thread a conversation: `agentfiles handoff codex --content "..." --thread pr7-review` - Reply back: `agentfiles handoff claude_code --reply-to-artifact-id <id> --content "Looks good"` - Hand off a file: `agentfiles handoff codex ./review.md` - Search a thread: `agentfiles search "pr7-review" -n <namespace>` Some runtimes may expose this as `/handoff`. Slash syntax is sugar, not a dependency. Read `references/commands.md` for the command matrix. Read `references/runtime-notes.md` for auth, browser-based `connect`, polling caveats, and sandbox/network notes. ## Behavior - Prefer an installed `agentfiles` binary on `PATH`. - If it is unavailable, fall back to the published `agentfiles-cli` package through npm. - Expect network approval when npm needs to download the published CLI package. - Keep `setup` as the default onboarding path and `connect` as the advanced/manual path. - Credentials should come from the browser-approved CLI flow and the local `~/.attach/config.json` file. - Do not ask the user to paste API keys into the skill or inline them in commands unless they explicitly choose the manual env-based path. - Preserve CLI behavior. Do not reinterpret command output unless the user asks for a reformatted result.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 agentfiles-1776017802 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 agentfiles-1776017802 技能

通过命令行安装

skillhub install agentfiles-1776017802

下载 Zip 包

⬇ 下载 agentfiles v1.0.2

文件大小: 5.86 KB | 发布时间: 2026-4-13 09:12

v1.0.2 最新 2026-4-13 09:12
- No user-facing changes in this release.
- Internal version bump only; no updates to documentation or code.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部