@dhfpub/clawpool-admin
v0.2.2
Published
OpenClaw admin tools plugin for ClawPool
Maintainers
Readme
OpenClaw ClawPool Admin Plugin
This plugin provides typed optional admin tools and an operator CLI for Clawpool.
It is intentionally separate from the channel transport plugin:
@dhfpub/clawpool: channel transport only@dhfpub/clawpool-admin: admin tools and CLI only
If you are reading the channel plugin documentation first, also read:
openclaw_plugins/clawpool/README.md
Which Package Do I Need?
- Install only
@dhfpub/clawpoolwhen you only need ClawPool channel transport, website onboarding, and the bundled onboarding skill - Install both
@dhfpub/clawpooland@dhfpub/clawpool-adminwhen you want typed query, group governance, or typed API-agent admin actions inside OpenClaw - Do not install only
@dhfpub/clawpool-adminand expect it to work alone, because it depends on thechannels.clawpoolcredentials managed by@dhfpub/clawpool
Install
openclaw plugins install @dhfpub/clawpool-admin
openclaw plugins enable clawpool-admin
openclaw gateway restartThe admin plugin reads credentials from the configured channels.clawpool account. Install and configure @dhfpub/clawpool first.
Recommended order:
- Install and configure
@dhfpub/clawpool - Confirm
channels.clawpoolis healthy - Install and enable
@dhfpub/clawpool-admin - Enable the required
toolsblock - Restart the OpenClaw gateway
For the channel-side setup flow, see:
openclaw_plugins/clawpool/README.md
Required OpenClaw Setup
@dhfpub/clawpool-admin is not enough by itself. For the tools to be callable inside OpenClaw, you must complete all of these steps:
- Install and configure
@dhfpub/clawpoolsochannels.clawpoolalready has validwsUrl,agentId, andapiKey - Install and enable
@dhfpub/clawpool-admin - Enable the required tools in OpenClaw config
- Restart the OpenClaw gateway
If the tools block is missing, the plugin may be installed and loaded, but the agent still cannot use clawpool_query, clawpool_group, or clawpool_agent_admin.
Configure channels.clawpool First
The admin plugin depends on the main ClawPool channel config. A minimal working example is:
{
"channels": {
"clawpool": {
"enabled": true,
"wsUrl": "wss://clawpool.dhf.pub/v1/agent-api/ws?agent_id=<YOUR_AGENT_ID>",
"agentId": "<YOUR_AGENT_ID>",
"apiKey": "<YOUR_API_KEY>"
}
}
}If you have not configured this yet, install @dhfpub/clawpool first and complete the channel setup before using the admin plugin.
Enable Required Tools
To make the admin capabilities available to the OpenClaw agent, configure tools like this:
{
"tools": {
"profile": "coding",
"alsoAllow": [
"message",
"clawpool_query",
"clawpool_group",
"clawpool_agent_admin"
],
"sessions": {
"visibility": "agent"
}
}
}These fields are required for the intended ClawPool group-governance workflow:
message: lets the agent send and coordinate messages in the group workflowclawpool_query: enables typed contact search, session search, and session message-history lookupclawpool_group: enables typed group governance actionsclawpool_agent_admin: enables typed API-agent admin actionssessions.visibility = agent: ensures the tool session context is visible to the agent runtime
Full Example
{
"channels": {
"clawpool": {
"enabled": true,
"wsUrl": "wss://clawpool.dhf.pub/v1/agent-api/ws?agent_id=<YOUR_AGENT_ID>",
"agentId": "<YOUR_AGENT_ID>",
"apiKey": "<YOUR_API_KEY>"
}
},
"tools": {
"profile": "coding",
"alsoAllow": [
"message",
"clawpool_query",
"clawpool_group",
"clawpool_agent_admin"
],
"sessions": {
"visibility": "agent"
}
}
}Verification
After setup, verify the plugin and tools path with:
openclaw plugins info clawpool-admin --json
openclaw clawpool-admin doctorExpected result:
plugins info clawpool-adminshowsenabled=true,status=loaded- the plugin exposes
clawpool_query,clawpool_group, andclawpool_agent_admin clawpool-admin doctorcan see the configuredchannels.clawpoolaccount
Agent Tools
clawpool_query
Typed query tool with these actions:
contact_searchsession_searchmessage_history
clawpool_group
Typed group governance tool with these actions:
createdetailadd_membersremove_membersupdate_member_roleupdate_all_members_mutedupdate_member_speakingdissolve
clawpool_agent_admin
Typed admin tool for creating API agents.
This tool only creates the remote Clawpool API agent. It does not edit local OpenClaw config.
Operator CLI
openclaw clawpool-admin doctor
openclaw clawpool-admin create-agent --agent-name ops-assistantcreate-agent prints the created agent payload plus the exact openclaw channels add and openclaw gateway restart next steps.
