my

Featured

Inspect and optionally adjust the agent's runtime state. Use to check the current model or preset, context window, iteration progress and limits, token usage, workspace and tool configuration, subagent status, and request routing metadata such as channel, chat ID, and sender ID; diagnose unavailable capabilities; change allowed runtime settings; or store temporary session scratchpad values.

AI & Automation 46,322 stars 8205 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Self-Awareness ## How to use 1. **Identify the situation** from the categories below 2. **Call the my tool** with the appropriate action 3. **If set**, warn the user before changing impactful settings (model, iterations) 4. **For detailed examples**, read [references/examples.md](references/examples.md) ## 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_preset` is sav...

Details

Author
HKUDS
Repository
HKUDS/nanobot
Created
5 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category