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.
npx skills add Nevaberry/nevaberry-plugins --skill cortex-m-knowledge-patchgit clone --depth 1 https://github.com/Nevaberry/nevaberry-pluginsWrote 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.
[](https://agentmods.dev/skills/nevaberry/nevaberry-plugins/cortex-m-knowledge-patch)<a href="https://agentmods.dev/skills/nevaberry/nevaberry-plugins/cortex-m-knowledge-patch"><img src="https://agentmods.dev/badge/skills/nevaberry/nevaberry-plugins/cortex-m-knowledge-patch/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.
<a href="https://agentmods.dev/skills/nevaberry/nevaberry-plugins/cortex-m-knowledge-patch"><img src="https://agentmods.dev/badge/skills/nevaberry/nevaberry-plugins/cortex-m-knowledge-patch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00011 | $0.01477 |
| Opus 5.5 | $0.00004 | $0.00591 |
| Sonnet 5.5 | $0.00002 | $0.00295 |
| Haiku 4.5 | $0.00001 | $0.00148 |
Grade A, and why
cortex-m-knowledge-patch 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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 180 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cortex-M compatibility guidance
Use this skill when upgrading Cortex-M crates or working with critical sections, semihosting I/O, core operations, interrupt handlers, runtime startup, or linker placement.
Reference index
| Reference | Topics |
|---|---|
| Migration and critical sections | Rust requirements, assembly feature changes, startup-hook deprecation, critical-section implementations |
| Semihosting I/O | Printing results, stream types, disabling calls, debug output |
| Core operations and interrupts | Unprivileged execution, interrupt target states, delays, active exception reads |
| Runtime startup and linking | Stack limits, memory initialization, stack painting, handlers, interrupt limits, linker alignment |
Breaking changes and deprecations
Rust toolchain requirements
cortex-m and cortex-m-rt use the Rust 2024 edition and require Rust
1.85 or newer. cortex-m-semihosting requires Rust 1.85.
See Migration and critical sections for the crate-specific version attributions.
Remove the assembly feature
Remove inline-asm from Cargo feature lists for both cortex-m and
cortex-m-semihosting.
- In
cortex-m0.7.8, it has no effect and is slated for removal in a future major release. - Since
cortex-m-semihosting0.5.0, the crate always uses inline assembly.
Deprecated startup hook
#[pre_init] is deprecated in cortex-m-rt 0.7.6. Existing uses produce
deprecation warnings.
Printing no longer returns an I/O result
From cortex-m-semihosting 0.4.0 onward, printing macros discard I/O
errors and return (). When upgrading from 0.3.7, where they return
Result, remove ? and .unwrap() from their calls.
cortex_m_semihosting::hprintln!("value: {}", 42);
Shared host stream type
cortex-m-semihosting 0.4.0 merged HStdout and HStderr into
cortex_m_semihosting::hio::HostStream. Use HostStream in type
annotations and function signatures for either host stream.
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- today First seen · 180 lines · 11 tokens per session scan A 9e5de23c8c5c
cortex-m-knowledge-patch is a skill published in the GitHub repository Nevaberry/nevaberry-plugins (25 stars, last pushed yesterday), licensed MIT. It adds 11 tokens to every session and 1,477 once invoked, about $0.0000 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-12-02.
cortex-m-knowledge-patch compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cortex-m-knowledge-patchNevaberry/nevaberry-plugins | Skill | 25 | yesterday | MIT | A | 11 | Claude Code |
| wasmTheBeardedBearSAS/claude-craft | Skill | 108 | 15d ago | MIT | A | 43 | Claude Code |
| rust-network-modulefakoli/fakoli-plugins | Skill | 4 | 3d ago | MIT | A | 43 | Claude Code, Codex |
| omh-rustrlaope/oh-my-hermes | Skill | 6.2k | today | MIT | A | 19 | Claude Code |
| cloudflare-workers-multi-langsecondsky/claude-skills | Skill | 257 | 2d ago | MIT | A | 45 | Claude Code |
| rust-no-stdmohitmishra786/low-level-dev-skills | Skill | 308 | 12d ago | MIT | A | 88 | Claude Code |
| rust-systemsWrongStack/WrongStack | Skill | 447 | today | MIT | A | 93 | Claude Code |