Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,10 @@ This outputs (and copies to your clipboard) a complete setup sequence that instr
# Standard prompt (Claude Code / Cursor integration)
kalibr prompt

# Full autonomous onboarding for OpenClaw / Hermes
# Website-driven (email pre-filled, zero human steps):
kalibr prompt --openclaw --email user@example.com

# Manual (user fills in email themselves):
kalibr prompt --openclaw
```

Expand Down
20 changes: 16 additions & 4 deletions kalibr/cli/prompt_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@

1. pip install kalibr huggingface_hub

2. kalibr auth --agent --email <ASK_USER_FOR_EMAIL>
Ask the user: "What email should I use to provision your Kalibr account?"
Then run: kalibr auth --agent --email <that_email>
2. kalibr auth --agent --email <YOUR_EMAIL>

3. Source credentials into shell:
- If ~/.zshrc exists: append KALIBR_API_KEY and KALIBR_TENANT_ID exports
Expand Down Expand Up @@ -71,13 +69,27 @@ def prompt(
"--openclaw",
help="Output the full autonomous OpenClaw / Hermes agent onboarding prompt.",
),
email: Optional[str] = typer.Option(
None,
"--email",
help="Pre-fill user email for OpenClaw onboarding (avoids prompting). Example: kalibr prompt --openclaw --email user@example.com",
),
) -> None:
"""Output a ready-to-paste Claude Code / Cursor integration prompt.

With --openclaw: outputs the full autonomous onboarding sequence for
OpenClaw / Hermes agent orchestrators. Zero human steps after pasting.
"""
text = OPENCLAW_PROMPT_TEXT if openclaw else PROMPT_TEXT
if openclaw:
if email:
text = OPENCLAW_PROMPT_TEXT.replace(
"kalibr auth --agent --email <YOUR_EMAIL>",
f"kalibr auth --agent --email {email}",
)
else:
text = OPENCLAW_PROMPT_TEXT
else:
text = PROMPT_TEXT

console.print(text)
console.print()
Expand Down
Loading