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 agentmods add commands/thebeardedbearsas/claude-craft/native-modulegit clone --depth 1 https://github.com/TheBeardedBearSAS/claude-craftWrote 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/commands/thebeardedbearsas/claude-craft/native-module)<a href="https://agentmods.dev/commands/thebeardedbearsas/claude-craft/native-module"><img src="https://agentmods.dev/badge/commands/thebeardedbearsas/claude-craft/native-module.svg" alt="Measured on agentmods" 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 | $0.00008 | $0.03852 |
| Opus 5 | $0.00004 | $0.01926 |
| Sonnet 5 | $0.00002 | $0.00770 |
| Haiku 4.5 | $0.00001 | $0.00385 |
Grade A, and why
native-module 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 — 608 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Guide Création Module Natif React Native
Tu es un développeur React Native senior. Tu dois guider la création d'un module natif (bridge) pour iOS et Android.
Arguments
$ARGUMENTS
Arguments :
- Nom du module (ex:
DeviceInfo,Biometrics,FileManager) - (Optionnel) Fonctionnalités : sync, async, events
Exemple : /reactnative:native-module Biometrics async,events
MISSION
Étape 1 : Structure du Module
src/
└── native/
└── {ModuleName}/
├── index.ts # API JavaScript
├── types.ts # Types TypeScript
└── NativeModule.ts # Bridge avec TurboModule
android/
└── app/src/main/java/com/{package}/
└── {modulename}/
├── {ModuleName}Module.kt # Module principal
└── {ModuleName}Package.kt # Package registration
ios/
└── {AppName}/
├── {ModuleName}.swift # Module Swift
└── {ModuleName}-Bridging-Header.h # Header pour Obj-C bridge
Étape 2 : API JavaScript/TypeScript
// src/native/{ModuleName}/types.ts
export interface {ModuleName}Result {
success: boolean;
data?: unknown;
error?: string;
}
export interface {ModuleName}Options {
timeout?: number;
// ...autres options
}
export type {ModuleName}EventType = 'onProgress' | 'onComplete' | 'onError';
export interface {ModuleName}Event {
type: {ModuleName}EventType;
payload: unknown;
}
// src/specs/Native{ModuleName}.ts ← Codegen spec (New Architecture RN 0.85+)
import type { TurboModule } from 'react-native';
import { TurboModuleRegistry } from 'react-native';
// Codegen génère les bindings C++/ObjC/Java à partir de cette spec TypeScript.
// Exécuter `pod install` (iOS) ou `./gradlew generateCodegenArtifacts` (Android)
// après toute modification de cette interface.
export interface Spec extends TurboModule {
// Méthode synchrone via JSI (réserver aux opérations < 1 ms)
getConstant(): string;
// Méthodes asynchrones
authenticate(options: {[key: string]: unknown}): Promise<{[key: string]: unknown}>;
isSupported(): Promise<boolean>;
// Événements (Fabric EventEmitter)
addListener(eventType: string): void;
removeListeners(count: number): void;
}
// TurboModuleRegistry.getEnforcing lève une erreur claire si le module
// n'est pas lié — remplace l'ancien pattern NativeModules.{ModuleName} + Proxy.
export default TurboModuleRegistry.getEnforcing<Spec>('{ModuleName}');
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 · 608 lines · 8 tokens per session scan A 658e4a01dc11
native-module is a command published in the GitHub repository TheBeardedBearSAS/claude-craft (105 stars, last pushed yesterday), licensed MIT. It adds 8 tokens to every session and 3,852 once invoked, about $0.0000 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-09-03.
Other commands, from other repositories
safe-decompile
Safely fingerprint and decompile an Android artifact through the sandboxed MCP server.
apollo-check
Investigate the Apollo repository $ARGUMENTS and produce a detailed investigation for migration.
verified-pr
Open a PR only after a full local build + test pass. When the project's PR CI does not run unit tests, so this skill enforces the gate locally before handing off to /create-pr. Use whenever the user asks to open, create, push, or ship a PR — including phrases like "open a PR", "make a PR", "ship it", "create the pull…
bump
Bump the app version or build number across all targets in the current project.
stacked-prs
Create semantic commits split into stacked upstream PRs under 600 lines each.
swift6-status
Show the current Swift 6 migration progress across all blocker categories.