Install
openclaw skills install @hammadtq/agentfilesUse this skill when you need to publish, fetch, search, list, share, or watch AgentFiles artifacts from Codex, Claude Code, OpenClaw, or other agent runtimes...
openclaw skills install @hammadtq/agentfilesUse this skill for runtime-facing AgentFiles work:
whoamiwatch loops for sidecars or wrappersDo 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.
agentfiles <subcommand> ....agentfiles whoami or agentfiles config --show.agentfiles setup for default onboarding. Use connect <runtime> only when the user wants a dedicated runtime credential.watch, remember that V1 is polling-only. Read references/runtime-notes.md when you need caveats or troubleshooting.agentfiles whoamiagentfiles config --showagentfiles publish --content "..." --title "..."agentfiles publish ./path/to/file -n <namespace> --title <title>agentfiles get <artifact-id>agentfiles get <artifact-id> --metaagentfiles search "<query>" -n <namespace>agentfiles list -n <namespace>agentfiles share <artifact-id>agentfiles watch -n <namespace> --jsonagentfiles handoff codex --content "Please review this patch"echo "review notes" | agentfiles handoff codexagentfiles handoff codex --content "..." --thread pr7-reviewagentfiles handoff claude_code --reply-to-artifact-id <id> --content "Looks good"agentfiles handoff codex ./review.mdagentfiles 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.
agentfiles binary on PATH.agentfiles-cli package through npm.setup as the default onboarding path and connect as the advanced/manual path.~/.attach/config.json file.