|
| 1 | +# Demo script: install the template as a profile builder |
| 2 | + |
| 3 | +This demo shows the most interesting workflow in this repository: install the template itself as a Hermes profile, then use that profile to create a new installable Hermes profile distribution. |
| 4 | + |
| 5 | +Target length: 2 to 3 minutes. |
| 6 | + |
| 7 | +## Demo goal |
| 8 | + |
| 9 | +Show that `hermes-profile-template` is not only a static GitHub template. It can also be installed as a Hermes profile that helps a user design, generate, validate, and publish new profile distributions. |
| 10 | + |
| 11 | +## Safety setup |
| 12 | + |
| 13 | +Use a clean demo workspace so no personal files, API keys, sessions, or memories appear on screen. |
| 14 | + |
| 15 | +```bash |
| 16 | +export DEMO_ROOT="/tmp/hermes-profile-builder-demo" |
| 17 | +export HERMES_HOME="$DEMO_ROOT/hermes-home" |
| 18 | +rm -rf "$DEMO_ROOT" |
| 19 | +mkdir -p "$DEMO_ROOT" |
| 20 | +cd "$DEMO_ROOT" |
| 21 | +``` |
| 22 | + |
| 23 | +Before recording, verify you are not showing secrets: |
| 24 | + |
| 25 | +```bash |
| 26 | +printenv | grep -Ei 'api|token|key|secret|password' || true |
| 27 | +``` |
| 28 | + |
| 29 | +If that prints anything sensitive, clear the terminal before recording. |
| 30 | + |
| 31 | +## Opening narration |
| 32 | + |
| 33 | +"I am going to install `hermes-profile-template` as a Hermes profile called `profile-architect`. Then I will use it to create a new specialized profile distribution in a few minutes. The result is a normal GitHub-ready Hermes profile repo with validation, metadata, docs, and safe defaults." |
| 34 | + |
| 35 | +## Scene 1: Install the template as a Hermes profile |
| 36 | + |
| 37 | +Command: |
| 38 | + |
| 39 | +```bash |
| 40 | +hermes profile install github.com/codegraphtheory/hermes-profile-template \ |
| 41 | + --name profile-architect \ |
| 42 | + --alias \ |
| 43 | + --yes |
| 44 | +``` |
| 45 | + |
| 46 | +Narration: |
| 47 | + |
| 48 | +"Hermes core handles profile install and isolation. This repository supplies the authoring workflow: profile design prompts, generation scripts, validation, CI, and release hygiene." |
| 49 | + |
| 50 | +Expected beats to show: |
| 51 | + |
| 52 | +- install completes successfully |
| 53 | +- profile path is shown |
| 54 | +- alias `profile-architect` is available |
| 55 | + |
| 56 | +Optional verification: |
| 57 | + |
| 58 | +```bash |
| 59 | +hermes profile info profile-architect |
| 60 | +``` |
| 61 | + |
| 62 | +## Scene 2: Ask the profile builder to create a new profile |
| 63 | + |
| 64 | +Start the profile: |
| 65 | + |
| 66 | +```bash |
| 67 | +profile-architect chat |
| 68 | +``` |
| 69 | + |
| 70 | +Paste this prompt: |
| 71 | + |
| 72 | +```text |
| 73 | +Create a Hermes profile distribution for a database migration reviewer. |
| 74 | +
|
| 75 | +Use case: |
| 76 | +- Reviews SQL migration diffs before deploy. |
| 77 | +- Flags destructive operations like dropped columns, table rewrites, missing rollback plans, unsafe locks, and irreversible data changes. |
| 78 | +- Produces a short risk summary and a rollback checklist. |
| 79 | +
|
| 80 | +Repository requirements: |
| 81 | +- Write the generated profile under /tmp/hermes-profile-builder-demo/database-migration-reviewer. |
| 82 | +- Include a clear SOUL.md, distribution.yaml, README.md, config.yaml, .env.EXAMPLE, AGENTS.md, CONTRIBUTING.md, SECURITY.md, and one bundled skill for migration review. |
| 83 | +- Run validation before finishing. |
| 84 | +- Do not use real credentials. |
| 85 | +``` |
| 86 | + |
| 87 | +Narration while it works: |
| 88 | + |
| 89 | +"The profile builder turns a product description into a structured profile distribution. The important part is that it does not stop at prose. It should write files and run validation." |
| 90 | + |
| 91 | +## Scene 3: Show the generated repository |
| 92 | + |
| 93 | +In a second terminal, or after the profile returns: |
| 94 | + |
| 95 | +```bash |
| 96 | +cd /tmp/hermes-profile-builder-demo/database-migration-reviewer |
| 97 | +find . -maxdepth 2 -type f | sort |
| 98 | +``` |
| 99 | + |
| 100 | +Show the key files: |
| 101 | + |
| 102 | +```bash |
| 103 | +sed -n '1,120p' distribution.yaml |
| 104 | +sed -n '1,80p' SOUL.md |
| 105 | +sed -n '1,100p' README.md |
| 106 | +``` |
| 107 | + |
| 108 | +Narration: |
| 109 | + |
| 110 | +"This is now an installable Hermes profile distribution. It has a manifest, agent instructions, docs, environment examples, and bundled skills. It is ready for a GitHub repository after review." |
| 111 | + |
| 112 | +## Scene 4: Validate and smoke install |
| 113 | + |
| 114 | +Run validation from the generated profile root: |
| 115 | + |
| 116 | +```bash |
| 117 | +python3 scripts/validate_profile.py . |
| 118 | +``` |
| 119 | + |
| 120 | +If the generated profile includes a Makefile: |
| 121 | + |
| 122 | +```bash |
| 123 | +make validate |
| 124 | +``` |
| 125 | + |
| 126 | +Smoke install it into the same temporary Hermes home: |
| 127 | + |
| 128 | +```bash |
| 129 | +hermes profile install . --name migration-reviewer-demo --yes --force |
| 130 | +hermes profile info migration-reviewer-demo |
| 131 | +``` |
| 132 | + |
| 133 | +Narration: |
| 134 | + |
| 135 | +"The final check is not just that files exist. Hermes can install the generated profile as a real isolated profile. That is the difference between a README template and an installable profile distribution." |
| 136 | + |
| 137 | +## Scene 5: Close with the publishing path |
| 138 | + |
| 139 | +Show the final publish commands without running them: |
| 140 | + |
| 141 | +```bash |
| 142 | +git init -b main |
| 143 | +git add . |
| 144 | +git commit -m "feat: initial database migration reviewer profile" |
| 145 | +git remote add origin git@github.com:YOUR_ORG/database-migration-reviewer.git |
| 146 | +git push -u origin main |
| 147 | +``` |
| 148 | + |
| 149 | +Narration: |
| 150 | + |
| 151 | +"From here, publish the generated directory as a GitHub repo. Users can install it with one command:" |
| 152 | + |
| 153 | +```bash |
| 154 | +hermes profile install github.com/YOUR_ORG/database-migration-reviewer --alias |
| 155 | +``` |
| 156 | + |
| 157 | +## Cleanup |
| 158 | + |
| 159 | +After recording: |
| 160 | + |
| 161 | +```bash |
| 162 | +hermes profile delete profile-architect --yes || true |
| 163 | +hermes profile delete migration-reviewer-demo --yes || true |
| 164 | +rm -rf /tmp/hermes-profile-builder-demo |
| 165 | +``` |
| 166 | + |
| 167 | +## Short version for a 60-second cut |
| 168 | + |
| 169 | +1. Install builder: |
| 170 | + |
| 171 | +```bash |
| 172 | +hermes profile install github.com/codegraphtheory/hermes-profile-template --name profile-architect --alias --yes |
| 173 | +``` |
| 174 | + |
| 175 | +2. Launch: |
| 176 | + |
| 177 | +```bash |
| 178 | +profile-architect chat |
| 179 | +``` |
| 180 | + |
| 181 | +3. Prompt: |
| 182 | + |
| 183 | +```text |
| 184 | +Create a Hermes profile distribution for a database migration reviewer. Write it to /tmp/hermes-profile-builder-demo/database-migration-reviewer and run validation before finishing. |
| 185 | +``` |
| 186 | + |
| 187 | +4. Show output: |
| 188 | + |
| 189 | +```bash |
| 190 | +cd /tmp/hermes-profile-builder-demo/database-migration-reviewer |
| 191 | +find . -maxdepth 2 -type f | sort |
| 192 | +python3 scripts/validate_profile.py . |
| 193 | +hermes profile install . --name migration-reviewer-demo --yes --force |
| 194 | +``` |
| 195 | + |
| 196 | +## Title ideas |
| 197 | + |
| 198 | +- "Turn a prompt into an installable Hermes profile repo" |
| 199 | +- "Using Hermes to build Hermes profiles" |
| 200 | +- "From idea to validated agent profile in 3 minutes" |
| 201 | + |
| 202 | +## Thumbnail text |
| 203 | + |
| 204 | +```text |
| 205 | +Prompt to Profile Repo |
| 206 | +Hermes Profile Template |
| 207 | +``` |
| 208 | + |
| 209 | +## Description for posting |
| 210 | + |
| 211 | +```text |
| 212 | +Demo: install hermes-profile-template as a Hermes profile builder, ask it for a database migration reviewer, then validate and smoke-install the generated profile distribution. |
| 213 | +``` |
0 commit comments