Skip to content

Latest commit

ย 

History

330 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿฆ‰ rhachet-roles-bhrain

test publish

reliable thought concept navigation roles, briefs, and skills, via rhachet

purpose

install

npm install rhachet-roles-bhrain

use

readme --registry

npx rhachet readme --registry bhrain

produces

# ๐Ÿฆ‰ bhrain role registry

this registry defines the roles used to navigate though concept space.

---

## ๐Ÿช thinker

used to navigate through concept space. see src/roles/thinker/briefs/cognition for details.

---

## ๐Ÿ“š librarian

used to curate knowledge and context. see src/roles/thinker/briefs/librarian.context and src/roles/thinker/briefs/librarian.tactics for details.

---

## ๐Ÿ” reviewer

used to review artifacts against declared rules. designed to be composed into review skills for other roles.

---

## ๐Ÿ—ฟ driver

used to navigate thought routes via stone milestones. enables robots to autonomously progress through structured journeys with optional guard validation.

ask -r thinker -s instantiate

npx rhachet ask -r thinker -s instantiate \
  --attempts 3 \
  --fresh yes \
  --output 'src/jokes.v1.md' \
  --ask "
     whats your best joke about seaturtles?
  "

ask -r thinker -s catalogize

npx rhachet ask -r thinker -s catalogize \
  --attempts 3 \
  --fresh yes \
  --output 'src/jokes.v1.md' \
  --ask "
    what are the different types of sea turtles?
  "

ask -r thinker -s articulate

npx rhachet ask -r thinker -s articulate \
  --attempts 3 \
  --fresh yes \
  --output 'src/jokes.v1.md' \
  --ask "
    what is a sea turtle?
  "

ask -r thinker -s demonstrate

npx rhachet ask -r thinker -s articulate \
  --attempts 3 \
  --fresh yes \
  --output 'src/jokes.v1.md' \
  --ask "
    how to identify a sea turtle?
  "

run --repo bhrain --skill review

review artifacts against rules via claude-code as the brain. designed to compose into review skills for other roles.

npx rhachet run --repo bhrain --skill review --mode hard --diffs since-main --paths '!pnpm-lock.yaml'

produces

๐ŸŒŠ skill "review" from repo=bhrain role=reviewer

๐Ÿ”ญ metrics.expected
   โ”œโ”€ files
   โ”‚  โ”œโ”€ rules: 60
   โ”‚  โ””โ”€ targets: 69
   โ”œโ”€ tokens
   โ”‚  โ”œโ”€ estimate: 73122
   โ”‚  โ””โ”€ context: 36.6%
   โ””โ”€ cost
      โ””โ”€ estimate: $0.3290

๐Ÿชต logs
   โ”œโ”€ scope: .log/bhrain/review/2025-12-23T00-39-00-673Z/input.scope.json
   โ”œโ”€ metrics: .log/bhrain/review/2025-12-23T00-39-00-673Z/metrics.expected.json
   โ””โ”€ tokens: .log/bhrain/review/2025-12-23T00-39-00-673Z/tokens.expected.md

๐Ÿฆ‰ let's review!
   โ””โ”€ elapsed: 85s โœ“

โœจ metrics.realized
   โ”œโ”€ tokens
   โ”‚  โ”œโ”€ input: 2
   โ”‚  โ”œโ”€ cache.write: 144578
   โ”‚  โ”œโ”€ cache.read: 14316
   โ”‚  โ””โ”€ output: 1090
   โ””โ”€ cost
      โ”œโ”€ input: $0.0000
      โ”œโ”€ cache.write: $0.5422
      โ”œโ”€ cache.read: $0.0043
      โ”œโ”€ output: $0.0164
      โ””โ”€ total: $0.5629

๐ŸŒŠ output
   โ”œโ”€ logs: .log/bhrain/review/2025-12-23T00-39-00-673Z
   โ””โ”€ review: .review/bhrain/v2025-12-23T00-39-00-645Z/[feedback].[given].by_robot.md

run --repo bhrain --skill reflect

extracts rules from feedback files and proposes them to a target directory. uses a two-step process: first proposes pure rules from feedback, then blends proposals with prior rules in the target.

npx rhachet run --repo bhrain --skill reflect --source /path/to/feedback --target ./briefs/practices

produces

๐ŸŒŠ skill "reflect" from repo=bhrain role=reviewer

๐Ÿ”ญ metrics.expected
   โ”œโ”€ files
   โ”‚  โ””โ”€ feedback: 2
   โ”œโ”€ tokens
   โ”‚  โ”œโ”€ estimate: 1,102
   โ”‚  โ””โ”€ context: 0.55%
   โ””โ”€ cost
      โ””โ”€ estimate: $0.0060

โ›๏ธ  step 1: propose pure rules from feedback...
   โ””โ”€ elapsed: 38s โœ“

๐Ÿชจ step 2: blend proposals with prior rules...
   โ””โ”€ elapsed: 30s โœ“
   โ””โ”€ CREATE: practices/writing.prose/rule.avoid.gerund-dominated-sentences.md
   โ””โ”€ CREATE: practices/writing.prose/rule.avoid.passive-voice-overuse.md
   โ””โ”€ CREATE: practices/writing.prose/rule.avoid.unclear-wordplay.md
   โ””โ”€ CREATE: practices/writing.clarity/rule.require.explain-technical-terms.md
   โ””โ”€ CREATE: practices/writing.structure/rule.require.one-idea-per-paragraph.md

โœจ metrics.realized
   โ”œโ”€ tokens
   โ”‚  โ”œโ”€ input: 33
   โ”‚  โ””โ”€ output: 5,001
   โ””โ”€ cost
      โ””โ”€ total: $0.2036

๐ŸŒŠ output
   โ”œโ”€ draft: .draft/v2025-12-26T22-11-28-309Z
   โ”œโ”€ pure: .draft/v2025-12-26T22-11-28-309Z/pure
   โ””โ”€ sync: .draft/v2025-12-26T22-11-28-309Z/sync

๐Ÿชจ results
   โ”œโ”€ created: 5
   โ”œโ”€ updated: 0
   โ”œโ”€ appended: 0
   โ””โ”€ omitted: 0

run --repo bhrain --role brain --skill act

brain.repl which autonomously completes tasks via tools. supports multiple brain.atoms (anthropic, openai, qwen) with toolboxes for file operations and web access.

npx rhachet run --repo bhrain --role brain --skill act \
  --target ./output.md \
  --provider anthropic \
  --model claude-sonnet-4-20250514 \
  "research sea turtles and write a brief report"

produces

๐ŸŒŠ skill "act" from repo=bhrain role=brain

๐Ÿง  brain act execution log

## summary
- termination: NATURAL_COMPLETION
- iterations: 5
- tokens: 4821

## final response
[the brain's response to your task]

options:

  • --target / -t: output file path for the result
  • --provider / -p: brain.atom.provider (anthropic, openai, qwen)
  • --model / -m: brain.atom.model (e.g., claude-sonnet-4-20250514, gpt-4o)
  • --system / -s: path to custom system prompt file

run --repo bhrain --skill route.stone.get

get the next stone(s) from a thought route. enables robots to know what milestone to work on next.

# get the next stone
npx rhachet run --repo bhrain --skill route.stone.get --stone @next-one --route .behavior/my-feature

# get the next stone and echo its content
npx rhachet run --repo bhrain --skill route.stone.get --stone @next-one --route .behavior/my-feature --say

# get all parallel stones (same numeric prefix)
npx rhachet run --repo bhrain --skill route.stone.get --stone @next-all --route .behavior/my-feature

produces

1.vision

run --repo bhrain --skill route.stone.set

mark a stone as passed or approved. triggers guard validation if the stone has a guard.

# mark stone as passed (triggers guard validation)
npx rhachet run --repo bhrain --skill route.stone.set --stone 1.vision --route .behavior/my-feature --as passed

# mark stone as approved (human approval gate)
npx rhachet run --repo bhrain --skill route.stone.set --stone 1.vision --route .behavior/my-feature --as approved

produces

stone 1.vision passed

or if guard validation fails:

stone 1.vision blocked: blockers exceed threshold (2 > 0)

run --repo bhrain --skill route.stone.del

delete unused stones from a route. refuses to delete stones that have artifacts (preserves history).

# delete a specific stone
npx rhachet run --repo bhrain --skill route.stone.del --stone 3.research.templates --route .behavior/my-feature

# delete multiple stones via glob
npx rhachet run --repo bhrain --skill route.stone.del --stone "*.research.*" --route .behavior/my-feature

produces

deleted: 3.1.research.templates, 3.1.research.prior
skipped: 3.1.research.domain (artifact found)

mascots

this repo houses roles for owls ๐Ÿฆ‰ โ€” wise navigators of concept space, who carefully traverse the landscapes of thought and knowledge.

they wield:

  • ๐Ÿ—ฟ stone โ€” for drivers โ€” to navigate thought routes via stone milestones, methodically
  • ๐Ÿ’Ž gem โ€” for achievers โ€” to hold a goal under pressure until it crystallizes, durably
  • ๐Ÿ“œ scroll โ€” for learners โ€” to externalize a lesson so it outlives the round, permanently
  • ๐Ÿ“š books โ€” for librarians โ€” to curate knowledge and context, efficiently
  • ๐Ÿ”ญ telescope โ€” for researchers โ€” to discover what is not yet held, exhaustively
  • ๐Ÿ” magnifier โ€” for reviewers โ€” to examine artifacts against declared rules, precisely
  • ๐Ÿ”ฎ crystal ball โ€” for telepaths โ€” to transfer a concept whole, at the fewest words
  • ๐Ÿช planet โ€” for thinkers โ€” to navigate through concept space, thoroughly
  • ๐ŸŒ• full moon โ€” for reflectors โ€” to shine back what an experience already held, plainly

every glyph above is drawn from the owl's own palette, and each names what its role does. the register and the rule behind it live in define.bhrain-repo-mascot.

About

reliable thought concept navigation roles, briefs, and skills, via rhachet

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages