binary-credential-format-boundary

binary-credential-format-boundary is a skill for Claude Code, Codex from JinNing6/Noosphere. It costs 97 tokens per session (812 once invoked), scanned A, original, Apache-2.0.

Guidance for reading fixed-size binary credentials and encoded text values without changing the underlying bytes. These credentials can include encryption keys, signatures, tokens, and digests used to verify or protect data.

In plain words
What is it for?
Use it when code loads cryptographic values from files or environment variables, especially when signing, verification, encryption, or decryption behaves inconsistently.
Why use it?
It helps find failures caused by trimming, decoding, newline conversion, or loose Base64 handling before changing the cryptography itself.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when code loads cryptographic values from files or environment variables, especially when signing, verification, encryption, or decryption behaves inconsistently.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jinning6/noosphere/binary-credential-format-boundary
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 JinNing6/Noosphere --skill binary-credential-format-boundary
Clone the repo
git clone --depth 1 https://github.com/JinNing6/Noosphere

Made for: Claude Code, Codex.

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 binary-credential-format-boundary

README.md
[![agentmods](https://agentmods.dev/badge/skills/jinning6/noosphere/binary-credential-format-boundary/github.svg)](https://agentmods.dev/skills/jinning6/noosphere/binary-credential-format-boundary)
Your own site
<a href="https://agentmods.dev/skills/jinning6/noosphere/binary-credential-format-boundary"><img src="https://agentmods.dev/badge/skills/jinning6/noosphere/binary-credential-format-boundary/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 binary-credential-format-boundary

Your own site · 80×15
<a href="https://agentmods.dev/skills/jinning6/noosphere/binary-credential-format-boundary"><img src="https://agentmods.dev/badge/skills/jinning6/noosphere/binary-credential-format-boundary.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 812 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00097 $0.00812
Opus 5.5 $0.00039 $0.00325
Sonnet 5.5 $0.00019 $0.00162
Haiku 4.5 $0.00010 $0.00081

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

Security

Grade A, and why

binary-credential-format-boundary 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 1mo 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.

shared_skills/active/binary-credential-format-boundary/SKILL.md · 67 lines

How it starts

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

Binary Credential Format Boundary

Preserve opaque binary values byte-for-byte while supporting explicitly defined text encodings through a separate parsing branch. Treat a flaky cryptographic verification as a possible ingestion bug before changing the cryptographic primitive.

Diagnose

  1. Reproduce the failure and capture only exception types, lengths, and hashes; never print credential bytes.
  2. Verify the primitive independently with an in-memory generate/sign/verify or encrypt/decrypt control.
  3. Trace the exact bytes from serialization through file/environment ingestion to the primitive.
  4. Look for pre-validation mutations: .strip(), .splitlines(), Unicode decode/encode, newline normalization, NUL termination, case conversion, or permissive Base64 decoding.
  5. Compare interpreter and library versions only after the byte path is proven unchanged.

Parse Without Ambiguity

For a contract that accepts either a fixed-length raw value or Base64 text:

raw = path.read_bytes()
if len(raw) == EXPECTED_RAW_LENGTH:
    value = raw
else:
    value = base64.b64decode(raw.strip(), validate=True)
    if len(value) != EXPECTED_RAW_LENGTH:
        raise ValueError("invalid credential length")

Apply text cleanup only inside the text-encoding branch. Do not call .strip() before checking the raw representation: bytes such as 0x09, 0x0a, 0x0b, 0x0c, 0x0d, and 0x20 are valid opaque octets and may occur at either boundary.

Prefer an explicit format option or distinct file extension when the accepted encodings can have overlapping lengths. Use official PEM/DER/JWK loaders for those formats instead of inventing detection logic. Reject unknown, ambiguous, malformed, oversized, or non-canonical input fail-closed.

Test First

Add deterministic regressions before changing the reader:

  • A raw value of the exact required length whose first byte is an ASCII whitespace octet.
  • A raw value whose final byte is an ASCII whitespace octet.
  • Raw values containing NUL and non-UTF-8 octets.
  • Valid Base64 text with the contractually allowed line ending.
  • Invalid Base64, decoded wrong length, ambiguous representation, and extra binary bytes.
  • An end-to-end primitive check using the loaded value.

Read the full file on GitHub · 67 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. 1mo ago First seen · 67 lines · 97 tokens per session scan A dcfdd2a1ae6e

Subscribe to this mod's changes

binary-credential-format-boundary is a skill published in the GitHub repository JinNing6/Noosphere (18 stars, last pushed 4d ago), licensed Apache-2.0. It adds 97 tokens to every session and 812 once invoked, about $0.0004 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

Other skills, from other repositories

prjct

The agentic harness for AI coding agents: machine-verified ships, guarded edits, and project lookup that beats re-deriving from source. Run the prjct verb yourself; use prjct work normally.

prjct-app/cli · 46 tokens

kaeru

Recall, capture and inspect persistent project memory through the kaeru MCP server. Use for cross-session project continuity, durable decisions, standing constraints, open work and saved reasoning.

LamantinAI/kaeru · 37 tokens

memory-system

A guide to giving an AI agent persistent, user-specific memory across conversations. It covers what to remember, how to store it, how to update or compress it, and when to use memory instead of a shared knowledge base.

bojieli/ai-agent-book · 95 tokens

pkf-writing

Author, update, convert, validate, persist, and render PKF (.pkf) content through message-inline, Library Asset, or Memory Page carriers. Use for structured reports, knowledge pages, delivery cards, or any .pkf body. NOT for recall, memory-graph placement, or curation decisions — those belong to the memory skill.

Prismer-AI/PrismerCloud · 78 tokens

memory-import

Bulk-import an external knowledge base into Prismer memory via the three-layer import pipeline (07 §3.1). Use when the user asks to import/migrate documents, a knowledge base, or notes into workspace memory. Layer 1 lands raw documents (zero LLM, instantly searchable); Layer 2 is YOUR distillation work — you read the…

Prismer-AI/PrismerCloud · 111 tokens

food-order

Reorder previous Foodora orders, preview cart contents, and track delivery ETA/status with ordercli. Use when the user wants to reorder food, check delivery status, or browse recent Foodora order history. Never confirm an order without explicit user approval.

Bitterbot-AI/bitterbot-desktop · 53 tokens