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 julianoczkowski/create-trimble-app --skill create-modus-wrapper-componentgit clone --depth 1 https://github.com/julianoczkowski/create-trimble-appWrote 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/julianoczkowski/create-trimble-app/create-modus-wrapper-component)<a href="https://agentmods.dev/skills/julianoczkowski/create-trimble-app/create-modus-wrapper-component"><img src="https://agentmods.dev/badge/skills/julianoczkowski/create-trimble-app/create-modus-wrapper-component/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/julianoczkowski/create-trimble-app/create-modus-wrapper-component"><img src="https://agentmods.dev/badge/skills/julianoczkowski/create-trimble-app/create-modus-wrapper-component.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.00028 | $0.01667 |
| Opus 5.5 | $0.00011 | $0.00667 |
| Sonnet 5.5 | $0.00006 | $0.00333 |
| Haiku 4.5 | $0.00003 | $0.00167 |
Grade A, and why
create-modus-wrapper-component 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 253 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Create Modus Wrapper Component
Scaffold a new Modus wrapper component following established patterns from the codebase.
When to Use
Use this skill when:
- Creating a new wrapper component for a Modus web component
- You need to integrate a Modus component that doesn't have a wrapper yet
- You want to ensure proper event handling and TypeScript types
Pattern Overview
All Modus wrapper components follow this structure:
- Import the web component from
@trimble-oss/moduswebcomponents-react - Define TypeScript props interface with JSDoc comments
- Use
useReffor component reference - Use
useEffectfor event listeners with proper cleanup - Forward props to the web component with conditional spreading
- Handle events via event listeners, not React props
Reference Examples
- Simple wrapper:
src/components/ModusButton.tsx- No event listeners needed - With event listeners:
src/components/ModusCheckbox.tsx- Shows event handling pattern - With dropdown:
src/components/ModusDropdownMenu.tsx- Shows menu event handling
Implementation Template
import { useEffect, useRef } from "react";
import { ModusWc[ComponentName] } from "@trimble-oss/moduswebcomponents-react";
import type { ReactNode } from "react";
/**
* Props for the Modus[ComponentName] component.
*/
export interface Modus[ComponentName]Props {
/** Description of prop */
propName?: string;
/** A callback function to handle events. */
onEventName?: (event: CustomEvent<EventDetailType>) => void;
/** A custom CSS class to apply to the component. */
customClass?: string;
/** The ARIA label for accessibility. */
"aria-label"?: string;
}
/**
* Renders a Modus [component name] component.
*
* @example
* // Basic usage
* <Modus[ComponentName] propName="value" />
*
* @example
* // With event handler
* <Modus[ComponentName]
* propName="value"
* onEventName={(event) => console.log(event.detail)}
* />
*
* @param {Modus[ComponentName]Props} props - The component props.
* @returns {JSX.Element} The rendered component.
* @see {@link https://modus.trimble.com/components/[component]} - Modus documentation
*/
export default function Modus[ComponentName]({
propName,
onEventName,
customClass,
"aria-label": ariaLabel,
}: Modus[ComponentName]Props) {
const componentRef = useRef<HTMLModusWc[ComponentName]Element>(null);
// Set up event listeners if needed
useEffect(() => {
const component = componentRef.current;
if (!component) return;
const handleEventName = (event: Event) => {
onEventName?.(event as CustomEvent<EventDetailType>);
};
if (onEventName) {
component.addEventListener("eventName", handleEventName);
}
return () => {
if (onEventName) {
component.removeEventListener("eventName", handleEventName);
}
};
}, [onEventName]);
return (
<ModusWc[ComponentName]
ref={componentRef}
prop-name={propName}
custom-class={customClass}
aria-label={ariaLabel}
/>
);
}
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.
- 2mo ago First seen · 253 lines · 28 tokens per session scan A db347311d007
create-modus-wrapper-component is a skill published in the GitHub repository julianoczkowski/create-trimble-app (3 stars, last pushed 4mo ago), licensed MIT. It adds 28 tokens to every session and 1,667 once invoked, about $0.0001 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-09-03.
create-modus-wrapper-component compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| create-modus-wrapper-componentjulianoczkowski/create-trimble-app | Skill | 3 | 4mo ago | MIT | A | 28 | Cursor |
| create-custom-widgetmendixlabs/mxcli | Skill | 137 | yesterday | Apache-2.0 | A | 50 | Claude Code |
| authoring-typescriptNVIDIA/elements | Skill | 113 | today | Apache-2.0 | A | 104 | Claude Code, Codex |
| react-component-designsoulcodex/agentic | Skill | 10 | 7d ago | MIT | A | 56 | Claude Code, Codex |
| fast-typescript-checkinternet-development/www-sacred | Skill | 1.6k | 2d ago | MIT | A | 84 | Claude Code, Codex |
| port-sacred-terminal-ui-to-typescript-cliinternet-development/www-sacred | Skill | 1.6k | 2d ago | MIT | A | 0 | Claude Code, Codex |
| splitting-oversized-modulesPostHog/posthog | Skill | 41k | yesterday | none | A | 197 | Claude Code, Codex |