Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
hkuds avatar

My

  • 11 installs
  • 46.5k repo stars
  • Updated August 3, 2026
  • hkuds/nanobot

Check and set the agent's own runtime state (model, max iterations, context window, token usage) to diagnose failures or adapt to task size.

About

Provides the my tool to inspect and adjust agent runtime settings like model preset, iteration budget, and context window. A developer uses it to diagnose why something stopped or tune limits before complex tasks.

  • Set context_window_tokens, model_preset, max_iterations with validation
  • In-memory only; reset on restart, prefer stability over frequent changes

My by the numbers

  • 11 all-time installs (skills.sh)
  • +1 installs in the week ending Aug 2, 2026 (Skillselion tracking)
  • Ranked #11,696 of 16,556 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 3, 2026 (Skillselion catalog sync)
npx skills add https://github.com/hkuds/nanobot --skill my

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs11
repo stars46.5k
Last updatedAugust 3, 2026
Repositoryhkuds/nanobot

What it does

Check and set the agent's own runtime state (model, max iterations, context window, token usage) to diagnose failures or adapt to task size.

Files

SKILL.mdMarkdownGitHub ↗

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

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>

SituationCommand
Large codebase analysismy(action="set", key="context_window_tokens", value=131072)
Switch to a named model presetmy(action="set", key="model_preset", value="<preset-name>")
Repetitive simple tasks without a presetmy(action="set", key="model", value="<fast-model>")
Long multi-step taskmy(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

  • All modifications in-memory only — restart resets everything
  • Prefer model_preset for configured model choices. Direct model changes clear the active preset and should only be used when no preset exists.
  • Protected params have type/range validation: max_iterations (1–100), context_window_tokens (4096–1M), model (non-empty str)
  • If tools.my.allow_set is false, check only

Related tools

NeedUsePersists?
Per-session temp statemy(action="set", key="...", value=...)No
Long-term factsMemory skill (MEMORY.md, USER.md)Yes
Permanent config changeEdit config fileYes

Rule of thumb: Tomorrow? Memory. This turn only? My.

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.