byoky: Instructions file for Claude Code

CLAUDE.md

byoky CLAUDE.md is an instructions file for Claude Code from MichaelLod/byoky. It costs 538 tokens per session, scanned A, original, MIT.

Project instructions for byoky, a monorepo—a codebase containing multiple related packages managed together. They describe its package layout, development conventions, and architecture.

In plain words
What is it for?
Use them when modifying byoky's core, SDK, browser extension, bridge, relay, vault, marketplace, or web packages, or when working with its token, credential, and app systems.
Why use it?
They give coding agents the project-specific context needed to place changes in the right package and follow existing conventions.

Instructions file for Claude Code

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

This is MichaelLod/byoky's own configuration. It tells Claude Code how to work on byoky 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 byoky configures →

Reuse

Borrowing it

Nothing to install: this file belongs to MichaelLod/byoky. 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/MichaelLod/byoky/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/MichaelLod/byoky

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 byoky CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/michaellod/byoky/claude-md"><img src="https://agentmods.dev/badge/instructions/michaellod/byoky/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 538 This file is loaded in full into every session.
When invoked 538 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.00538 $0.00538
Opus 5.5 $0.00215 $0.00215
Sonnet 5.5 $0.00108 $0.00108
Haiku 4.5 $0.00054 $0.00054

Measured 13d ago against content hash f010e0d2d8b6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

byoky 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 13d 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 · 39 lines

How it starts

The opening of the file, as written. The whole thing — 39 lines — stays where its author put it; the contents beside it link to each section on GitHub.

byoky

Project structure

Monorepo using pnpm workspaces:

  • packages/core — shared types, crypto (Web Crypto API), message protocol, provider registry, cross-provider translation
  • packages/sdk — @byoky/sdk npm package for developers (includes @byoky/sdk/server for backend relay over the app's own WebSocket)
  • packages/extension — browser extension built with WXT (Chrome, Firefox, Safari)
  • packages/bridge — @byoky/bridge local HTTP proxy + native messaging host for CLI/desktop apps
  • packages/ios — iOS app (SwiftUI wallet + Safari extension + in-wallet browser)
  • packages/android — Android app (Kotlin/Compose wallet + in-wallet browser)
  • packages/openclaw-plugin — OpenClaw provider plugin that routes through @byoky/bridge
  • packages/create-byoky-app — npx create-byoky-app scaffolder
  • packages/web — byoky.com Next.js site: landing page, /docs, /demo, /chat

Development

  • pnpm install — install all dependencies
  • pnpm dev — start extension in Chrome dev mode
  • pnpm build — build all packages
  • pnpm typecheck — type check all packages

Architecture

  • Local only: no byoky-hosted services: no accounts, cloud sync, relay, gifts or app registry. Each wallet serves apps on its own device; the wallets talk only to the AI providers the user adds. Don't reintroduce a server dependency.
  • Proxy model: API keys never leave the wallet. The extension's background script (and the mobile apps' native code) proxies all LLM API calls.
  • Custom fetch: SDK provides createFetch() that routes requests through the extension via window.postMessage → content script → chrome.runtime.Port → background script.
  • Encryption: AES-256-GCM with PBKDF2 key derivation (600K iterations), using Web Crypto API.
  • State: Zustand in the popup, browser.storage.local for persistence.
  • Streaming: Uses chrome.runtime.Port for long-lived connections; chunks forwarded via TransformStream.

Conventions

  • TypeScript strict mode
  • WXT convention for entrypoints (entrypoints/ directory)
  • React functional components in popup
  • No default exports except where WXT requires them

Read the full file on GitHub · 39 lines

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. 13d ago Changed · -2 lines · -108 tokens per session f010e0d2d8b6
  2. 2mo ago First seen · 41 lines · 646 tokens per session scan A 0e77da0360c2

Subscribe to this mod's changes

byoky CLAUDE.md is an instructions file published in the GitHub repository MichaelLod/byoky (16 stars, last pushed 3d ago), licensed MIT. It adds 538 tokens to every session, about $0.0022 per session on Opus 5.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-30.

Related

byoky CLAUDE.md compared with instructions from other repositories

byoky CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
byoky CLAUDE.mdMichaelLod/byokyInstructions file163d agoMITA538Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode