My my
Inspect or troubleshoot the agent's runtime state, adjust runtime settings, or keep temporary session notes.
- Our test
- 7/10✓ Verified
- tested Dec 6, 2026
- GitHub stars
- 51k
- hkuds/nanobot
- Added by
- 0
- members
- Updated
- Dec 6
- commit 0c027ec
- Content
- 2 files
- no scripts · 5 KB
- License
- MIT
- free to use
What our test found
The skill gives clear guidance for checking runtime state, making cautious changes, and avoiding sensitive scratchpad data, but it depends on an available `my` tool.
Limits spotted
- The skill assumes a `my` tool exists and does not explain what to do if it is unavailable.
- Some examples depend on particular configuration keys and model presets that may not exist in every environment.
name: my description: Inspect or troubleshoot the agent's runtime state, adjust runtime settings, or keep temporary session notes.
Self-Awareness
How to use
- Identify the situation from the categories below
- Call the my tool with the appropriate action
- If set, warn the user before changing impactful settings such as the model or runtime limits
- For detailed examples, read
When to check
<rule> Diagnose before explaining. When something doesn't work, check your state first. </rule>
<rule> Check budget before complex tasks. Know your limits before committing. </rule>
<rule> Recall across turns. Store preferences in your scratchpad, read them back later. </rule>
When to set
<rule> Only set when benefit is clear and user is informed. Warn before changing model. </rule>
| Situation | Command | |-----------|---------| | Check capacity for a large task | my(action="check", key="context_window_tokens") | | Switch model or context capacity | my(action="set", key="model_preset", value="<preset-name>") | | Long multi-step task | my(action="set", key="max_iterations", value=80) |
Tradeoff: Bias toward stability. Only set when defaults are genuinely insufficient.
Anti-patterns
<rule> Don't check every turn. Costs a tool call. Use when you need information, not reflexively. </rule>
<rule> Don't store sensitive data. No API keys, passwords, or tokens in scratchpad. </rule>
<rule> Don't set workspace. Does not update file tool boundaries — won't work. </rule>
Constraints
model_presetis saved for the current session; other modifications are in-memory only- Scratchpad values survive across turns until the agent runtime restarts and are shared by its sessions; do not treat them as private per-session storage.
- Use
my(action="check", key="workspace_sandbox")for the current project and file restriction.workspaceis only a legacy agent-directory display. - Direct
modelandcontext_window_tokenswrites are rejected during active sessions because they would change the shared instance default. Use a configuredmodel_presetinstead. - Protected params have type/range validation:
max_iterations(1–100),context_window_tokens(4096–1M),model(non-empty str) - If
tools.my.allow_setis false, check only
Related tools
| Need | Use | Persists? | |------|-----|-----------| | Temporary runtime notes | my(action="set", key="...", value=...) | Across turns, not restarts | | Long-term facts | Memory skill (MEMORY.md, USER.md) | Yes | | Permanent config change | Edit config file | Yes |
Rule of thumb: Durable facts? Memory. Temporary runtime notes? My.