Skip to content

Connect to Hermes

Paste this into Hermes. It installs the skill, sets up this project, and pauses once for your browser approval.

Install the Agent Analytics skill from ClawHub (`clawhub/agent-analytics`), then set up Agent Analytics for this project. When login is needed, send me the approval link and wait. I will sign in with Google or GitHub and reply with the finish code. Then find or create the matching project, ask me to confirm the main goal, add only the first events tied to that goal, and show me the first event arriving.

You need Hermes running where you want Agent Analytics, npx in that runtime, and the Google or GitHub account you want to connect. No API key is needed.

  1. Installs the skill from ClawHub. The skill runs the official pinned CLI, npx --yes @agent-analytics/cli@0.5.37 ..., with the right workflow and guardrails.
  2. Starts detached login and sends you the approval link.
  3. Waits while you sign in and reply with the finish code.
  4. Finds or creates the matching project and asks you to confirm the main goal before storing durable context.
  5. Inspects the repo or workflow, adds only the first useful events tied to that goal, and explains what each one enables.
  6. Verifies that the first useful event arrives.

After that, Hermes can query stats, inspect funnels, and manage experiments from the same conversation.

For deeper product analysis, follow up with:

If this product has other owned public websites or pages that shape the growth loop, map those surfaces to the project or portfolio, tell me what data we are not collecting yet, and ask before storing any new durable portfolio goal.

Optional: add the Hermes dashboard plugin (Signals tab)

Section titled “Optional: add the Hermes dashboard plugin (Signals tab)”

If you also want a native read-only dashboard inside Hermes Web UI, use this prompt:

Install the Agent Analytics Hermes dashboard plugin from GitHub. Clone https://github.com/Agent-Analytics/agent-analytics-hermes-plugin into ~/dev/agent-analytics-hermes-plugin (or update it if it already exists), symlink it to ~/.hermes/plugins/agent-analytics, build it, restart Hermes dashboard, and verify the Signals tab loads.

Plugin repo:

Agent Analytics Hermes plugin screenshot

Optional: use an Agent Analytics Hermes skin

Section titled “Optional: use an Agent Analytics Hermes skin”

If you want the Hermes CLI itself to match the Agent Analytics palette, give Hermes this prompt:

Install the Agent Analytics Hermes skin for me. Download https://docs.agentanalytics.sh/downloads/agent-analytics-hermes-skin.yaml into ~/.hermes/skins/agent-analytics.yaml, switch my current skin to agent-analytics, and tell me when it is active.

For the manual path, install the custom skin YAML built from the shared UI colors:

Terminal window
mkdir -p ~/.hermes/skins
curl -fsSL https://docs.agentanalytics.sh/downloads/agent-analytics-hermes-skin.yaml -o ~/.hermes/skins/agent-analytics.yaml

Then activate it in Hermes:

Terminal window
/skin agent-analytics

Or make it your default in ~/.hermes/config.yaml:

display:
skin: agent-analytics

Agent Analytics Hermes skin screenshot

The skin uses the core Agent Analytics screenshot palette:

  • primary green: #0f9f5b
  • warm accent: #f06a19
  • dark base: #111412
  • raised dark surface: #171b18
  • light text: #f3efe4
  • muted text: #8d958d

This version intentionally avoids blue accents so it matches the live Hermes skin look more closely.

If you want to tweak it, start from the downloadable YAML:

The Hermes skin system itself is documented here:

The public skill repo also includes agent-analytics-autoresearch, the growth-loop skill for producing experiment candidates from analytics data. Use the regular Agent Analytics skill for setup and reporting. Use the autoresearch skill when you want the loop to generate, critique, judge, and rerun variants from measured evidence.

If you prefer to install the skill yourself, use the source-qualified form:

Terminal window
hermes skills install clawhub/agent-analytics

That is more reliable than the short name alone.

Terminal window
npx --yes @agent-analytics/cli@0.5.37 --help

This confirms that the pinned CLI path works in the Hermes runtime before you start login or project setup.

The normal Hermes login path is detached browser approval:

Terminal window
npx --yes @agent-analytics/cli@0.5.37 login --detached

That command prints:

  • an approval URL
  • a follow-up login --auth-request ... --exchange-code ... command

Use detached login when Hermes is running remotely, in a managed runtime, or in any workflow where the agent should hand you a browser approval link and then continue after your reply.

In Hermes and other CLI runtimes, prefer the skill-led setup workflow over scanner-first setup. The agent should create or identify the matching project, ask you to confirm the initial product goal before storing durable context, inspect the repo or workflow context, and install only the first useful events tied to that goal.

The public website-analysis preview can still help when you only have a public URL or want a scanner-informed sales/setup preview, but it is not the normal Hermes setup path.

The raw CLI order behind the prompt:

Terminal window
npx --yes @agent-analytics/cli@0.5.37 login --detached
npx --yes @agent-analytics/cli@0.5.37 create my-site --domain https://mysite.com
npx --yes @agent-analytics/cli@0.5.37 events my-site --event <first_useful_event> --days 7 --limit 20

That gives Hermes a project, a tracker install target, and a concrete event verification step. The event itself should come from the goal-confirmed setup workflow, not a generic pageview-only install.

The --domain flag is still the correct CLI shape. Use it for the project’s primary setup surface URL or origin, including a temporary local or preview URL when that is the surface you are testing. Add or keep other allowed origins with update --origins when the project also has production, local, staging, or preview surfaces.

If you want to prove the CLI flow before connecting a real account, run:

Terminal window
npx --yes @agent-analytics/cli@0.5.37 demo
npx --yes @agent-analytics/cli@0.5.37 --demo stats agentanalytics-demo --days 30
npx --yes @agent-analytics/cli@0.5.37 --demo funnel agentanalytics-demo --steps "page_view,signup_started,signup"

Demo mode is read-only, uses seeded sample data, and does not touch your saved CLI login.

  • If hermes skills install agent-analytics does not resolve correctly, use hermes skills install clawhub/agent-analytics.
  • If login worked earlier but later says “Not logged in”, run auth status and confirm Hermes is using the config directory you expect.
  • If you intentionally use a compatibility API key for direct HTTP debugging, keep it in the runtime environment rather than pasting it into chat.