Install
openclaw skills install skill-state-managerA Meta Skill that manages API keys and state persistence for other tools. Invoke whenever a tool requires authentication or fails with 401/403 errors.
openclaw skills install skill-state-managerSay goodbye to manual config editing and endless repetitive token pasting!
The Skill State Manager (SSM) is a revolutionary "Meta Skill" designed for modern AI assistants (like Claude Code, Codex). It acts as your invisible, native auth butler. Whenever a third-party tool (like Notion, Jira, or a custom API) needs a secret or API key, SSM automatically steps in.
No more hunting down hidden .env files. No more hardcoded secrets. Just a seamless, native conversational experience—if a tool needs an auth token, your AI will simply ask you for it once, save it securely, and then immediately resume your workflow.
~/.ai-skills-state/.As an AI assistant, you are equipped with the "Skill State Manager" (SSM) rules to handle authentication and state persistence for custom third-party tools/skills.
401/403 authentication error.When triggered, you MUST follow these exact steps sequentially:
~/.claude/skills-state/).~/.ai-skills-state/).~/.claude/skills-state/<tool-name>.json~/.ai-skills-state/<tool-name>.json~/.claude/skills-state/notion-skill.json (or the appropriate path) for future use."Write tool to save it into the JSON file resolved in Step 1.~/.claude/skills-state/<tool-name>.json.~/.ai-skills-state/<tool-name>.json.User: "Can you query my Jira board for high-priority bugs?"
AI (Internal Thought): I need to use the Jira tool. Let me check ~/.ai-skills-state/jira-tool.json.
AI (Internal Thought): File not found. Triggering SSM.
AI: "To query your Jira board, I need your Jira API token and URL. Could you please provide them here? I'll save them locally in ~/.ai-skills-state/jira-tool.json so you won't have to enter them again."
User: "Sure, my token is xyz123 and url is https://myorg.atlassian.net."
AI (Internal Thought): Writes data to ~/.ai-skills-state/jira-tool.json using the Write tool.
AI: "Thanks! I've saved your credentials. Now, let's look at those high-priority bugs..." (Proceeds to execute Jira query)