setup
/setup
Set up the OKF MCP plugin — outputs a guide for the user to create their ~/.okf/credentials file with their OAuth2 client id/secret. Use when first enabling the plugin, when headersHelper fails with "Missing credentials", or when the user says "setup okf".
- Author
- aws-samples ↗
- Repository
- sample-okf-llm-wiki ↗
- Licence
- MIT
- Last repository change
- 27.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Set up the OKF MCP plugin — outputs a guide for the user to create their ~/.okf/credentials file with their OAuth2 client id/secret. Use when first enabling the plugin, when headersHelper fails with "Missing credentials", or when the user says "setup okf".
Triggers from the description
Original author description
Set up the OKF MCP plugin — outputs a guide for the user to create their ~/.okf/credentials file with their OAuth2 client id/secret. Use when first enabling the plugin, when headersHelper fails with "Missing credentials", or when the user says "setup okf".
How it works
- When to use
- Steps
- OKF MCP Credentials Setup
- Important
SKILL.md preview
--- name: setup description: Set up the OKF MCP plugin — outputs a guide for the user to create their ~/.okf/credentials file with their OAuth2 client id/secret. Use when first enabling the plugin, when headersHelper fails with "Missing credentials", or when the user says "setup okf". --- # OKF MCP Setup Outputs a guide for the user to configure the plugin's credentials. The client id and secret are long-lived machine credentials that must NEVER be pasted into the conversation. ## When to use - First time enabling the okf-mcp plugin - When the user says "setup okf", "configure okf credentials", or similar - When the headersHelper fails with "Missing credentials" ## Steps 1. Check if `~/.okf/credentials` already exists: ```bash test -f ~/.okf/credentials && echo "exists ($(wc -l < ~/.okf/credentials) lines)" || echo "not found" ``` 2. If it already exists and the user didn't ask to reconfigure, inform them the file is present and suggest running the `refresh-okf-mcp-token` skill to test it. 3. Output the following guide as markdown to the user (do NOT ask them to paste secrets into the chat): --- ## OKF MCP Credentials Setup Create `~/.okf/credentials` with your OAuth2 client ID and secret. Run these commands in your terminal (outside of Claude Code) or prefix with `!` to run inline: ```bash mkdir -p ~/.okf && chmod 700 ~/.okf cat > ~/.okf/credentials << 'EOF' OKF_MCP_CLIENT_ID=<paste your client id here> OKF_MCP_CLIENT_SECRET=<paste your client secret here> EOF chmod 600 ~/.okf/credentials ``` Replace the `<paste ...>` placeholders with the real values from when you created the credential in the OKF console. **Where to find your credentials:** They were shown once when you created the machine credential in the OKF console. If you've lost them, create a new credential pair in the console. **Verify it works:** ```bash python3 "<plugin_root>/scripts/okf-mcp-token.py" headers ``` This should print a JSON object with an `Authorization` header. After that, restart Claude Code (or reconnect the MCP via `/mcp`) for the plugin to pick up the credentials automatically. --- 4. After outputting the guide, mention that `<plugin_root>` should be replaced with the actual CLAUDE_PLUGIN_ROOT path if running manually, or they can just restart the session and the `headersHelper` will take care of it. ## Important - NEVER ask the user to paste their client ID or secret into the conversation - NEVER write secrets directly — only output the shell commands they can run - The credentials file lives at `~/.okf/credentials` (outside the repo) - The token cache lives at `~/.okf/token-cache.json` (auto-managed)
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · aws-samples/sample-okf-llm-wiki | 100 | MIT |
| HwangSlater/harness-fit | 100 | MIT |
| nesquikm/dev-process-toolkit | 100 | MIT |
| userKael/rastro | 100 | MIT |
| als-apg/osprey | 100 | BSD-3-Clause |
| dedujeong/gemba | 100 | Apache-2.0 |
| eigenwise/eigenwise-toolshed | 100 | MIT |
| awrshift/agent-memory-kit | 100 | MIT |
| lifecycle-innovations-limited/claude-ops | 100 | MIT |
Database snapshot: 13.11.2026 · package version fe64f7073889 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100okf-agent-memory
Operate okf-memory/okf-agent-memory, the commit-pinned Go CLI and stdio MCP for OKF v0.2 Git-native project memory. Use for `okf bootstrap/search/show/create/update/relate/validate` or MCP setup; route Google OKF v0.1 atoms to `okf` and architecture selection to `agent-memory-architecture`. - 100refresh-okf-mcp-token
Fetch or refresh an OAuth2 access token for the OKF Data wiki consumption MCP server. Use when the OKF MCP server returns 401/403/unauthorized/expired-token errors, when the user asks to refresh, renew, or get a new OKF MCP token, or when setting up authentication to call the… - 100okf-wiki
Builds an Open Knowledge Format (OKF) knowledge base from existing docs, notes, or a repo. Use to scaffold an OKF wiki. - 100okf-init
Creates the standard knowledge/ structure (OKF v0.2 bundle, knowledge/3.0 profile with the layers fragments/, base/ and projections/) in the current repository. Use when the user says "initialize OKF", "create the knowledge folder", "okf init", "scaffold knowledge", "prepare… - 100memory-okf
Make a Basic Memory project ready for OKF v0.2 export by finding and fixing what blocks it. Use when preparing a project for OKF export, publishing, or handoff, or checking an OKF bundle. - 100okf-maintain-knowledge
OKF — Author, maintain, and consume Open Knowledge Format (OKF) knowledge bundles. Use when capturing project knowledge (services, APIs, schemas, decisions) into an OKF bundle, when updating one after code or docs change, or when a repository's OKF bundle should inform the task.…