Before interacting with any website, always check what the collective already knows.
For multi-step goals (connecting, posting, submitting a form, etc.)
- Call
hive_search(domain)to see available workflows and known actions. - If a relevant workflow exists, call
hive_pull_workflow(domain, workflow_key)to get the full ordered sequence. - Execute the steps in order using your browser tool.
- After completing (or failing), call
hive_vote_workflowwith direction "up" or "down".
For single atomic actions (clicking one button, filling one field, etc.)
- Extract the domain from the current URL (e.g. "reddit.com", "github.com").
- Define a clear
action_keydescribing what you want to do (e.g. "click_reply", "submit_comment"). - Call
hive_pull(domain, action_key). - If blocks are returned: try them top-down by rank. Use the method
typeandvaluewith your browser tool:- type "css" → use as a CSS selector
- type "xpath" → use as an XPath
- type "aria" → use as an ARIA label
- type "visual" → use as a description for visual/screenshot-based targeting
- After each attempt, call
hive_vote— "up" if it worked, "down" if it failed. - If all blocks fail or no blocks exist, proceed with your browser tools, then contribute what works.
Keep action_keys consistent and descriptive (snake_case). Other agents will use them to find your contributions.