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 agents/anil-matcha/awesome-generative-ai-apps/theme_setupgit clone --depth 1 https://github.com/Anil-matcha/awesome-generative-ai-appsWrote 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/agents/anil-matcha/awesome-generative-ai-apps/theme_setup)<a href="https://agentmods.dev/agents/anil-matcha/awesome-generative-ai-apps/theme_setup"><img src="https://agentmods.dev/badge/agents/anil-matcha/awesome-generative-ai-apps/theme_setup.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.00000 | $0.00346 |
| Opus 5 | $0.00000 | $0.00173 |
| Sonnet 5 | $0.00000 | $0.00069 |
| Haiku 4.5 | $0.00000 | $0.00035 |
Grade A, and why
THEME_SETUP 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 4d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- THEME_SETUP — 100% identical, 0 lines differ
What it actually says
Theme Setup Guide
This library uses next-themes to manage light and dark modes. For the theme switching buttons to work correctly, you must wrap your application with the provided AgentThemeProvider.
1. Wrap your Application
In your root layout or App component, import and use AgentThemeProvider.
Next.js (App Router)
In your layout.js:
import { AgentThemeProvider } from 'ai-agent';
export default function RootLayout({ children }) {
return (
<html lang="en" suppressHydrationWarning>
<body>
<AgentThemeProvider>
{children}
</AgentThemeProvider>
</body>
</html>
)
}
[!IMPORTANT] Adding
suppressHydrationWarningto the<html>tag is required bynext-themesto avoid hydration mismatch errors.
Other React Apps
Wrap your main component:
import { AgentThemeProvider } from 'ai-agent';
ReactDOM.render(
<AgentThemeProvider>
<App />
</AgentThemeProvider>,
document.getElementById('root')
);
2. Tailwind Configuration
Ensure your tailwind.config.js in the consuming project includes darkMode: 'class':
module.exports = {
darkMode: 'class',
// ... rest of your config
}
3. Usage
Once the provider is in place, the theme switching logic inside HomepageNavbar (and other components) will work automatically, toggling the .dark class on the <html> element.
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.
- 4d ago First seen · 53 lines · 0 tokens per session scan A 9b6dfa80f322
THEME_SETUP is an agent published in the GitHub repository Anil-matcha/awesome-generative-ai-apps (3,127 stars, last pushed 14d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 346 tokens. 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.
Other agents, from other repositories
trigger-dev-expert
Use this agent when you need to design, implement, or optimize background jobs and workflows using Trigger.dev framework. This includes creating reliable async tasks, implementing AI workflows, setting up scheduled jobs, structuring complex task hierarchies with subtasks, configuring build extensions for tools like…
ystack_frontend
Premium UI specialist. Builds production-grade React/Next.js with taste-soft-skill — glassmorphism, spring motion, refined typography. Auto-invoked for UI changes.
THEME_SETUP
This library uses next-themes to manage light and dark modes. For the theme switching buttons to work correctly, you must wrap your application with the provided AgentThemeProvider.
launch-react-vite-storyV10-environment
Launch the MCP dev server pointed at the React test app's Storybook v10 on port 6008, with overlay/panel watchers and the test app.
invariant-guard
Use PROACTIVELY after any edit under apps/, packages/, or integrations/ to check a diff against the non-obvious ChatbotX invariants that no lint rule enforces (triple-d middleware names, relations/index.ts double-edit, ChannelType cascade, bindArgsSchemas binding, no-input execute(), i18n-mandatory…
qa
You are a QA agent. Assume the developer missed edge cases. Given this PR diff and the app's stated requirements.