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 LuuOW/meridian-mcp --skill state-managementgit clone --depth 1 https://github.com/LuuOW/meridian-mcpWrote 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/luuow/meridian-mcp/state-management)<a href="https://agentmods.dev/skills/luuow/meridian-mcp/state-management"><img src="https://agentmods.dev/badge/skills/luuow/meridian-mcp/state-management/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/luuow/meridian-mcp/state-management"><img src="https://agentmods.dev/badge/skills/luuow/meridian-mcp/state-management.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.00060 | $0.02873 |
| Opus 5.5 | $0.00024 | $0.01149 |
| Sonnet 5.5 | $0.00012 | $0.00575 |
| Haiku 4.5 | $0.00006 | $0.00287 |
Grade A, and why
state-management 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 — 333 lines — stays where its author put it; the contents beside it link to each section on GitHub.
state-management
Core principle: server state and client state are different problems. Conflating them is the root cause of most frontend data bugs.
- Server state: data that lives on the server. You don't own it — you cache it. TanStack Query or SWR.
- Client state: data that only exists in the browser. You do own it. Zustand or Jotai.
- URL state: filters, pagination, selected IDs. The URL is the store —
nuqsoruseSearchParams.
If you put server data into a Zustand store, you are building a second cache on top of TanStack Query. You will invent your own invalidation logic and lose.
1) TanStack Query — server state authority
// lib/query-client.ts — one instance, shared everywhere
import { QueryClient } from "@tanstack/react-query";
export const queryClient = new QueryClient({
defaultOptions: {
queries: {
staleTime: 1000 * 60, // data fresh for 1 min — don't refetch on every focus
retry: 2,
refetchOnWindowFocus: false, // usually too aggressive for dashboards
},
},
});
// hooks/use-articles.ts
import { useQuery, useMutation, useQueryClient } from "@tanstack/react-query";
import { api } from "@/lib/client"; // generated from OpenAPI spec (schema-authority)
// ── Query keys: treat them as addresses, not strings ─────────────────────────
export const articleKeys = {
all: () => ["articles"] as const,
list: (filters: object)=> ["articles", "list", filters] as const,
detail: (slug: string) => ["articles", "detail", slug] as const,
};
// ── Read ──────────────────────────────────────────────────────────────────────
export function useArticles(filters: ArticleFilters) {
return useQuery({
queryKey: articleKeys.list(filters),
queryFn: () => api.getArticles(filters),
});
}
export function useArticle(slug: string) {
return useQuery({
queryKey: articleKeys.detail(slug),
queryFn: () => api.getArticle(slug),
enabled: !!slug,
});
}
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 · 333 lines · 60 tokens per session scan A 948a0db5cadc
state-management is a skill published in the GitHub repository LuuOW/meridian-mcp (0 stars, last pushed 1mo ago), licensed MIT. It adds 60 tokens to every session and 2,873 once invoked, about $0.0002 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.
state-management compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| state-managementLuuOW/meridian-mcp | Skill | 0 | 1mo ago | MIT | A | 60 | Claude Code, Codex |
| sanity-live-cache-componentssanity-io/next-sanity | Skill | 955 | yesterday | MIT | A | 155 | Claude Code, Codex |
| evjsafx-team/evjs | Skill | 27 | 7d ago | MIT | A | 45 | Claude Code, Codex |
| notebooklm-managementPracticalSwan/agent-skills | Skill | 25 | 14d ago | MIT | A | 38 | Codex |
| breaking-changes-managementPracticalSwan/agent-skills | Skill | 25 | 14d ago | MIT | A | 43 | Codex |
| angular-state-management-v2diegosouzapw/awesome-omni-skills | Skill | 181 | 4mo ago | MIT | A | 76 | Claude Code, Codex |
| tanstack-startjoelhooks/joelclaw | Skill | 68 | today | none | A | 58 | Claude Code |