Skip to content

Instantly share code, notes, and snippets.

@JimJafar
Last active April 23, 2026 05:21
Show Gist options
  • Select an option

  • Save JimJafar/c6411e358817ade286bdbbb1445e29f3 to your computer and use it in GitHub Desktop.

Select an option

Save JimJafar/c6411e358817ade286bdbbb1445e29f3 to your computer and use it in GitHub Desktop.
Useful prompts for Hermes Agent, OpenClaw, NanoClaw etc.

Useful prompts for agent frameworks (Hermes Agent, OpenClaw, NanoClaw etc.)

I use Hermes Agent at present, just edit the prompts as appropriate for your setup.

Workspace

I find it useful to have all the agent's work and useful conversations or comments stored in a single git repo. So I created one called hermes-workspace and checked it out to ~/ which is where .hermes is located in my setup.

Note: I also use separate Discord channels for each project, so Hermes just uses those names for the project directories.

Tell the agent to store work there and commit it

I would like you to store all your work in separate project folders under ~/hermes-workspace Anything you produce for those projects (plans, research, scripts, reports etc.) is to be placed there.

For example:

  • ~/hermes-workspace/project-name/plans
  • ~/hermes-workspace/project-name/research
  • etc.

I might ask you to save some conversations or parts of conversations in our workspace too.

The workspace folder is a git repository. Please commit and push when completing any set of changes.

Have your agent build you a web interface for viewing documents

Build a simple web page where I can browse and download the files in ~/hermes-workspace/browser

Design

  • a sidenav containing a list of the project root folders
  • clickable breadcrumbs so I can easily navigate back up the folder tree
  • a main panel showing the contents of the current folder
    • clicking a folder navigates into it, clicking a file opens the markdown viewer modal

Tech stack

  • Use HTML, vanilla JavaScript and CSS, no frameworks
  • Use https://github.com/1ps0/markdown loaded in a modal for rendering the markdown files
  • A lightweight node server for fetching directory listings and hosting the page on port 8042, no frameworks

Disaster recovery

Please back up the entire Hermes Agent configuration including your skills, memories, learnings and personality to GitHub. Not the hermes-workspace folder though, we already have that in git.

If this machine dies I should be able to recover you completely from those two backup repositories.

Write a recovery plan in README.md

Use this repository: [email protected]:YourGitHubId/hermes-agent-backup.git

Remember to commit and push after changes! Going forward, whenever you make configuration changes, add or update a skill, or produce any valuable output:

  • Skills → Commit to hermes-agent-backup
  • Workspace projects → Commit to hermes-workspace
  • New memories → They'll persist automatically, but periodic commits are good
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment