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 cognitedata/builder-skills --skill setup-flows-authgit clone --depth 1 https://github.com/cognitedata/builder-skillsWrote 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/cognitedata/builder-skills/setup-flows-auth)<a href="https://agentmods.dev/skills/cognitedata/builder-skills/setup-flows-auth"><img src="https://agentmods.dev/badge/skills/cognitedata/builder-skills/setup-flows-auth/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/cognitedata/builder-skills/setup-flows-auth"><img src="https://agentmods.dev/badge/skills/cognitedata/builder-skills/setup-flows-auth.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium MCP Rug Pull · line 22 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
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.00121 | $0.01766 |
| Opus 5.5 | $0.00048 | $0.00706 |
| Sonnet 5.5 | $0.00024 | $0.00353 |
| Haiku 4.5 | $0.00012 | $0.00177 |
Grade A, and why
setup-flows-auth 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 — 192 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Set Up Flows Authentication
Wire a React app for Flows auth so it can talk to CDF inside Fusion. Two flows exist; pick one based on app.json.
Pick the flow
Read app.json if present:
app.json infra |
Flow | Auth source | Extra package |
|---|---|---|---|
"appsApi" |
Apps API (new Fusion app host) | connectToHostApp from @cognite/app-sdk |
@cognite/app-sdk |
| missing / other | Classic (legacy Files API) | DuneAuthProvider + useDune() from @cognite/dune |
— |
No app.json? Ask the user. Default to Apps API — it's the default for npx @cognite/cli@latest apps create.
Step 1 — Read state, decide whether to act
Read package.json, src/main.tsx (or src/index.tsx), vite.config.ts, app.json.
A valid setup already exists if any of these is true — in which case do nothing and report no-op:
- Classic:
<DuneAuthProvider>from@cognite/dunewraps<App />in the entry file. - Apps API, provider pattern:
<CogniteSdkProvider>from@cognite/app-sdk/reactwraps the app (inApp.tsxormain.tsx), and nested components consume the client viauseCogniteSdk(). Requires@cognite/app-sdk >= 0.5.1.
Detect the package manager from the lock file (pnpm-lock.yaml → pnpm, yarn.lock → yarn, otherwise npm).
Step 2 — Install missing deps
Classic flow:
| Package | Type |
|---|---|
@cognite/dune |
runtime |
@cognite/sdk |
runtime |
@tanstack/react-query |
runtime |
vite-plugin-mkcert |
dev |
Apps API flow:
| Package | Type |
|---|---|
@cognite/app-sdk |
runtime |
@cognite/sdk |
runtime |
@tanstack/react-query |
runtime |
vite-plugin-mkcert |
dev |
Skip anything already in package.json. Use the detected package manager (pnpm add, npm install, yarn add; -D / --save-dev for dev deps).
Step 3 — Vite config
Add only what's missing. Don't remove existing plugins.
Classic flow
import { fusionOpenPlugin } from "@cognite/dune/vite";
import mkcert from "vite-plugin-mkcert";
export default defineConfig({
base: "./",
plugins: [react(), mkcert(), fusionOpenPlugin(), /* ... */],
server: { port: 3001 },
worker: { format: "es" },
});
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 · 192 lines · 121 tokens per session scan A 9c7205575b34
setup-flows-auth is a skill published in the GitHub repository cognitedata/builder-skills (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 121 tokens to every session and 1,766 once invoked, about $0.0005 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-08-31.
setup-flows-auth compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| setup-flows-authcognitedata/builder-skills | Skill | 6 | yesterday | Apache-2.0 | A | 121 | Claude Code |
| langbot-devlangbot-app/LangBot | Skill | 19k | today | Apache-2.0 | A | 136 | Claude Code, Codex |
| trigger-realtime-and-frontendtriggerdotdev/trigger.dev | Skill | 17k | 3d ago | Apache-2.0 | A | 148 | Claude Code, Codex |
| devtools-event-clientTanStack/devtools | Skill | 510 | yesterday | MIT | A | 79 | Claude Code, Codex |
| airflow-pluginsastronomer/agents | Skill | 458 | 4d ago | Apache-2.0 | A | 147 | Claude Code |
| walkeros-create-destinationelbwalker/walkerOS | Skill | 349 | 2d ago | MIT | A | 77 | Claude Code |
| walkeros-create-sourceelbwalker/walkerOS | Skill | 349 | 2d ago | MIT | A | 65 | Claude Code |