refresh-okf-mcp-token

refresh-okf-mcp-token is a skill for Claude Code from aws-samples/sample-okf-llm-wiki. It costs 83 tokens per session (1,246 once invoked), scanned A, original, MIT-0.

A procedure for obtaining or renewing an OAuth2 access token for the OKF Data wiki consumption service. OAuth2 is a sign-in method that lets software access a service with a temporary token.

In plain words
What is it for?
Use it after 401, 403, unauthorized, or expired-token errors, or when setting up access to the OKF service.
Why use it?
It addresses authorization failures caused by missing, expired, or invalid access tokens.

Skill for Claude Code ✓ vendor

Written for Claude Code: shipped in a Claude Code plugin.

Part of the okf-mcp plugin — 2 skills shipped together

Good fit Use it after 401, 403, unauthorized, or expired-token errors, or when setting up access to the OKF service.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aws-samples/sample-okf-llm-wiki/refresh-okf-mcp-token
About the project

aws-samples/sample-okf-llm-wiki is a sample system that turns AWS data sources into portable knowledge bundles: organized Markdown documents explaining datasets, tables, relationships, metrics, and known issues. It serves those bundles to AI agents through the Model Context Protocol, using sources such as AWS Glue Data Catalog and Amazon Redshift. The catalogue entries support the system's setup and workflow.

aws-samples/sample-okf-llm-wiki · 26 stars · on GitHub · aws-samples.github.io

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add aws-samples/sample-okf-llm-wiki --skill refresh-okf-mcp-token
Clone the repo
git clone --depth 1 https://github.com/aws-samples/sample-okf-llm-wiki

Made for: Claude Code.

Or install okf-mcp, the plugin that ships this one along with the rest of its 2 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for refresh-okf-mcp-token

README.md
[![agentmods](https://agentmods.dev/badge/skills/aws-samples/sample-okf-llm-wiki/refresh-okf-mcp-token/github.svg)](https://agentmods.dev/skills/aws-samples/sample-okf-llm-wiki/refresh-okf-mcp-token)
Your own site
<a href="https://agentmods.dev/skills/aws-samples/sample-okf-llm-wiki/refresh-okf-mcp-token"><img src="https://agentmods.dev/badge/skills/aws-samples/sample-okf-llm-wiki/refresh-okf-mcp-token/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for refresh-okf-mcp-token

Your own site · 80×15
<a href="https://agentmods.dev/skills/aws-samples/sample-okf-llm-wiki/refresh-okf-mcp-token"><img src="https://agentmods.dev/badge/skills/aws-samples/sample-okf-llm-wiki/refresh-okf-mcp-token.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,246 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00083 $0.01246
Opus 5 $0.00042 $0.00623
Sonnet 5 $0.00017 $0.00249
Haiku 4.5 $0.00008 $0.00125

Measured 9d ago against content hash d69fbadd9393, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

refresh-okf-mcp-token scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

3. `curl` fallback (no script):
okf-mcp/skills/refresh-okf-mcp-token/SKILL.md · 107 lines

The source is not reproduced here

Licensed MIT-0

The repository is licensed MIT-0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 107 lines · 83 tokens per session scan A d69fbadd9393

Subscribe to this mod's changes

refresh-okf-mcp-token is a skill published in the GitHub repository aws-samples/sample-okf-llm-wiki (26 stars, last pushed 2d ago), licensed MIT-0. It adds 83 tokens to every session and 1,246 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

okf-enrich

Guidance for an AI agent to enrich an Open Knowledge Format (OKF) bundle with high-quality concept descriptions using its own LLM — grounded in the bundle's schema, data profile, and samples — then optionally sync them back to the source. Use when an OKF bundle has missing, weak, or low-quality descriptions that…

xSAVIKx/okf-skills · 86 tokens

okf-producer-generator

Guidance and the bundled OKF specification for building a new Open Knowledge Format (OKF) producer/connector skill in this project — the architectural principles, the okf-go library contract, the produce/ingest/schema command surface, the secret-handling and sync conventions, and the exact registration steps. Use when…

xSAVIKx/okf-skills · 128 tokens

okf-bigquery

Google Cloud BigQuery connector that produces and ingests Open Knowledge Format (OKF) bundles from dataset schemas, table/field descriptions, and metadata. Use when documenting or cataloging BigQuery datasets, extracting schema metadata into OKF, or syncing descriptions back to BigQuery tables and fields.

xSAVIKx/okf-skills · 63 tokens

okf-mongodb

MongoDB connector that produces and ingests Open Knowledge Format (OKF) bundles by sampling documents to infer each collection's schema. Emits one concept per collection with a Name | Type | Presence table (top-level fields, with mixed types shown as a union and presence as the percentage of sampled documents). The…

xSAVIKx/okf-skills · 126 tokens

okf-mysql

MySQL connector that produces and ingests Open Knowledge Format (OKF) bundles from database schemas and table/column comments. Use when documenting or cataloging a MySQL database, extracting its schema and comments into OKF, or syncing descriptions back to MySQL via DDL.

xSAVIKx/okf-skills · 61 tokens

okf-postgresql

PostgreSQL connector that produces and ingests Open Knowledge Format (OKF) bundles from database schemas and table/column descriptions. Use when documenting or cataloging a PostgreSQL database, extracting its schema and comments into OKF, or syncing descriptions back with COMMENT ON statements.

xSAVIKx/okf-skills · 60 tokens