oura-mcp: Instructions file for Claude Code

CLAUDE.md

oura-mcp CLAUDE.md is an instructions file for Claude Code from YasuakiOmokawa/oura-mcp. It costs 740 tokens per session, scanned A, original, MIT.

Repository instructions for the Oura MCP project, which connects an MCP server to Oura Ring data.

In plain words
What is it for?
Use them when editing the project’s TypeScript source, tests, scripts, MCP integration, release files, or CI-related configuration.
Why use it?
They provide project-specific rules for naming, language, TypeScript checks, and known automation problems that generic coding guidance may miss.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md.

This is YasuakiOmokawa/oura-mcp's own configuration. It tells Claude Code how to work on oura-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything oura-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to YasuakiOmokawa/oura-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/YasuakiOmokawa/oura-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/YasuakiOmokawa/oura-mcp

Made for: Claude Code.

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 oura-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/yasuakiomokawa/oura-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/yasuakiomokawa/oura-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/yasuakiomokawa/oura-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/yasuakiomokawa/oura-mcp/claude-md/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 oura-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/yasuakiomokawa/oura-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/yasuakiomokawa/oura-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 740 This file is loaded in full into every session.
When invoked 740 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original 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.00740 $0.00740
Opus 5 $0.00370 $0.00370
Sonnet 5 $0.00148 $0.00148
Haiku 4.5 $0.00074 $0.00074

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

Security

Grade A, and why

oura-mcp CLAUDE.md scanned grade A with 0 findings 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 10d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 41 lines

What it actually says

oura-mcp プロジェクトルール

詳細ルールは .claude/rules/*.md に paths-scoped で分離。該当ファイルを編集する時に自動で読み込まれる。

rule 発火条件
no-class-syntax.md src/ test/ scripts/*.ts 編集時
mcp-sdk.md src/index.ts src/mcp/ 編集時
release.md .changeset/ CHANGELOG.md package.json 編集時

言語

コメント・ドキュメントは 英語 で書く。例外: CLAUDE.md.claude/rules/*.md のみ日本語可(人間が読みやすさ優先)。changeset 本文も英語。

命名

  • factory 関数: create*(例: createAuthManager, createFileTokenStore
  • ステートレス処理: 動詞ベース(例: buildAuthorizeUrl, exchangeCode, refreshTokens
  • 型: PascalCase の typeinterface ではなく type 統一)

TypeScript 編集後のチェック

lint は biome (npm run lint:fix)。user global rule の yarn eslint は適用外(biome を使うため)。

ハマりどころメモ

bot 作成 PR は CI が走らない(GITHUB_TOKEN の anti-recursion)

  • changesets/action / peter-evans/create-pull-request 等が GITHUB_TOKEN で作る PR には pull_request トリガーの ci.yml が fire しない
  • 回避策:
    • 暫定: bot PR ブランチに空コミットを手動 push(git commit --allow-empty -m "trigger ci" && git push
    • 恒久: secrets に PAT を登録、action の env で GITHUB_TOKEN: ${{ secrets.PAT }} を上書き
  • 理由: GitHub の anti-recursion 仕様で default 無効、設定で変えられない。branch protection で必須 status checks が設定済みだと bot PR がマージできず詰まる

自分の PR を merge する時は --admin --squash

  • main の branch protection は required_approving_review_count: 1 + enforce_admins: false
  • 自分の PR は self-approve 不可なので、gh pr merge --auto --squash で予約しても mergeStateStatus: BLOCKED で fire しない(auto-merge は admin bypass しない仕様)
  • 自分の PR は CI 通過を確認してから gh pr merge --admin --squash <num> で merge する(admin bypass で要件無視)
  • bot PR の扱い:
    • release PR(changesets/action): release.yml 内で github-actions[bot] が auto-approve するため止まらない
    • Dependabot PR / その他: 手動で gh pr review --approve <num> してから merge
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. 10d ago First seen · 41 lines · 740 tokens per session scan A 30f237fb4381

Subscribe to this mod's changes

oura-mcp CLAUDE.md is an instructions file published in the GitHub repository YasuakiOmokawa/oura-mcp (1 stars, last pushed 29d ago), licensed MIT. It adds 740 tokens to every session, about $0.0037 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens