All plugins

hermes-habitica

Manage a Habitica character from Hermes: view stats and streaks, tick habits and dailies, create and edit tasks and rewards, and follow party and quest progress, with optional party chat posting. Disclosure — calls habitica.com/api/v3 with your stored user ID and API token; ticks, edits and deletes are irreversible writes that change streaks, stats and gold, and task deletes and party chat posts or deletes ask for your approval first; party chat posts are visible to party members; not affiliated with or endorsed by Habitica.

Jessy-BooToolsv1.0.1Updated 8 days ago

About

Manage a Habitica character from Hermes: view stats and streaks, tick habits and dailies, create and edit tasks and rewards, and follow party and quest progress, with optional party chat posting. Disclosure — calls habitica.com/api/v3 with your stored user ID and API token; ticks, edits and deletes are irreversible writes that change streaks, stats and gold, and task deletes and party chat posts or deletes ask for your approval first; party chat posts are visible to party members; not affiliated with or endorsed by Habitica.

hermes-habitica

Manage a Habitica character from
Hermes Agent: view stats and
streaks, tick habits and dailies, create and edit tasks and rewards, and
follow party and quest progress, with optional party chat posting.

Not affiliated with or endorsed by Habitica. An independent implementation
of the public Habitica API v3.

Install

hermes plugins install hermes-habitica
hermes plugins enable hermes-habitica

Credentials

Two secrets are required, both from the Habitica web app's
Settings, Site, and Mobile Data page (API column):

  • HABITICA_USER_ID: the user ID shown in the API column
  • HABITICA_API_TOKEN: the API token (Show API Token)

The installer links to that page and stores both values in Hermes' scoped
secret store. The plugin reads them only through
agent.secret_scope.get_secret; it never reads environment variables or
.env files (a unit test proves env values are ignored).

hermes config set plugins.entries.hermes-habitica.requires_env.HABITICA_USER_ID <value>
hermes config set plugins.entries.hermes-habitica.requires_env.HABITICA_API_TOKEN <value>

Tools

ToolWhat it does
habitica_statusLevel, class, HP, MP, XP, gold, gems and the longest daily streaks
habitica_tasksList one task type with streaks, values and checklists
habitica_task_createCreate habits, dailies, todos and rewards (checklists, tags, schedules, gold values)
habitica_task_updatePartial update of any task field
habitica_task_deleteDelete a task (irreversible)
habitica_tickScore a task up or down (irreversible; affects streaks)
habitica_tagsList tags with their ids
habitica_partyParty and quest status; list, post to and clean up party chat

What this plugin does on your machine

  • Network: every call goes to habitica.com/api/v3 with your stored
    credentials. Nothing else is contacted, and no telemetry is sent.
  • Writes are real state changes: ticks, edits and deletes are
    irreversible on Habitica's side; a tick permanently affects streaks,
    stats and gold. The habitica_tick tool description instructs the model
    to tick only when the user names the task or explicitly asks. Task
    deletion and party chat posting/deleting are additionally gated through
    Hermes' human-approval system: a pre_tool_call hook asks you before
    each such call runs (fail-closed: a denied or timed-out approval blocks
    the call).
  • Party chat: chat_post sends a message visible to party members; it
    cannot be unsent except by deleting your own message (chat_delete).
  • Credentials: stored in Hermes' scoped secret store, sent only to
    habitica.com over HTTPS, never logged.
  • No files are read or written on the host; no background processes.

Configuration

KeyDefaultMeaning
request_timeout_seconds30HTTP timeout for habitica.com calls
chat_fetch_limit20Recent messages returned by the chat_list action

HTTP 429/503 responses are retried up to three times with an exponential
backoff capped at 30 seconds (the server's Retry-After header wins).

Developing

python3 -m unittest discover -s tests -t .

runs the unit tests (stdlib unittest, no live network: urllib is faked).

Layout:

  • client.py: stdlib-only API v3 client (headers, backoff, verified
    endpoint behaviour)
  • tools.py: tool handlers and LLM-facing schemas
  • settings.py: config glue
  • tests/: mocked-transport unit tests

License

MIT

README from the reviewed commit 3d76904; it updates when the author re-pins.

More by Jessy-Boo

2 plugins by Jessy-Boo in the catalog.

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section