Borrowing it
Nothing to install: this file belongs to mdrideout/junjo. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/mdrideout/junjo/master/.agents/skills/studio-ingestion-flow/SKILL.mdgit clone --depth 1 https://github.com/mdrideout/junjoWrote 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/mdrideout/junjo/studio-ingestion-flow)<a href="https://agentmods.dev/skills/mdrideout/junjo/studio-ingestion-flow"><img src="https://agentmods.dev/badge/skills/mdrideout/junjo/studio-ingestion-flow/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/mdrideout/junjo/studio-ingestion-flow"><img src="https://agentmods.dev/badge/skills/mdrideout/junjo/studio-ingestion-flow.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.00041 | $0.00942 |
| Opus 5.5 | $0.00016 | $0.00377 |
| Sonnet 5.5 | $0.00008 | $0.00188 |
| Haiku 4.5 | $0.00004 | $0.00094 |
Grade A, and why
studio-ingestion-flow 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 17d 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 — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Studio Ingestion Flow
Use This Skill When
- The task touches
apps/studio/ingestion/. - The task changes WAL behavior, segmenting, flush triggers, hot snapshots, backpressure, or recent-cold file bridging.
- The task changes
apps/studio/proto/contracts used by ingestion and the backend. - The task changes backend code that directly depends on ingestion query semantics.
Do Not Use This Skill When
- The task is ordinary backend feature or CRUD work.
- The task is frontend UI or state-management work.
- The task is primarily an authentication review with no ingestion-path changes.
Workflow
- Read
apps/studio/AGENTS.mdand start from the code path. - Trace the relevant end-to-end path before editing: OTLP receive, WAL write, cold flush, hot snapshot, backend query registration, and deduplication or recent-cold bridging.
- Use ADRs for decisions and invariants:
apps/studio/ingestion/adr/001-segmented-wal-architecture.mdapps/studio/ingestion/adr/002-sqlite-metadata-index.mdapps/studio/docs/adr/004-events-json-contract.mdwhen events JSON is involved
- Treat
apps/studio/ingestion/src/config.rsand active backend code as the source of truth for runtime defaults and behavior. - Update owning proto sources in
apps/studio/proto/. Both services compile them at build time and no generated code is checked in, so a proto change is a change to the backend and ingestion together.
Performance-sensitive reviews and changes
Apply the root AGENTS.md product-performance requirement before selecting
ingestion or query hardening. Read apps/studio/ingestion/benchmarks/README.md
and the relevant accepted evidence under docs/roadmaps/evidence/; retrieve
the owning ADR's history when it records a rejected design or earlier tuning.
- Treat per-request flushing, flush cadence, storage synchronization, allocator changes, lock scope, copying, and deduplication as possible runtime costs. A reproduced correctness failure does not establish that a candidate fix is suitable for the supported low-resource deployment.
- Compare unchanged and candidate production builds on the same existing resource profile and equivalent workload. Include paced mixed queries, unpaced ingestion, sparse and full batches, serial and concurrent exporters, and cold rollover where affected. Retain batching and allocator settings unless those are the explicit subject of the experiment.
- Run the real-world test in that README for the unchanged and the candidate build: the real frontend and the real SDK while the exporters send spans. Understand the path from an exported span to the screen before proposing a change to it. The hot snapshot of unflushed spans is the normal state of a live deployment, not a corner case.
- Keep measurement rounds separate from builds, validation suites, and other benchmark workloads. Retain overlapping runs as diagnostics and repeat the affected comparisons without that interference.
- Count generated, successfully exported, and persisted spans separately. Record retries/failures, latency distributions, CPU time, memory, and query impact. A paced workload meeting its offered rate is not capacity proof. Use repeated measurements to distinguish a regression from baseline variation.
- Keep the accepted baseline and acceptance gates fixed during a comparison. Do not broaden a gate or replace the baseline to make a candidate pass; explain inconclusive results and any proposed tradeoff to the maintainer.
- For durability, distinguish process termination, normal shutdown, storage write failure, and host/storage failure. Probe partial batches and batch boundaries with identified spans, not only file timestamps. State which guarantee was actually tested and leave unapproved guarantees unchanged.
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.
- 17d ago Changed · +6 lines 18d09bf8eb69
- 1mo ago Changed · +31 lines 2f155f2f7b1d
- 1mo ago First seen · 49 lines · 41 tokens per session scan A 93bf7870600b
studio-ingestion-flow is a skill published in the GitHub repository mdrideout/junjo (20 stars, last pushed 17d ago), licensed Apache-2.0. It adds 41 tokens to every session and 942 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-08-30.
Other skills, from other repositories
developing-genkit-tooling
Best practices for authoring Genkit tooling, including CLI commands and MCP server tools. Covers naming conventions, architectural patterns, and consistency guidelines.
emulate-seed
Generate emulate seed configs for stateful API emulation. Wraps Vercel's emulate tool for GitHub, Vercel, Google OAuth, Slack, Apple Auth, Microsoft Entra, AWS, Okta, Clerk, Resend, Stripe, and MongoDB Atlas APIs — full state machines, not mocks. Use when setting up test environments, CI pipelines, integration tests…
performance
Performance optimization patterns covering Core Web Vitals, React render optimization, lazy loading, image optimization, backend profiling, LLM inference, and sustainability UX. Use when improving page speed, debugging slow renders, optimizing bundles, reducing image payload, profiling backend, deploying LLMs…
api-design
API contract design for REST and GraphQL, covering resource shape, URL and header versioning with deprecation windows, RFC 9457 Problem Details error handling, and OpenAPI specs. Use when specifying the wire contract an endpoint exposes, choosing a versioning scheme, or standardizing error response bodies across…
architecture-patterns
Architecture validation and patterns for clean architecture, backend structure enforcement, project structure validation, test standards, and context-aware sizing. Use when designing system boundaries, enforcing layered architecture, validating project structure, defining test standards, or choosing the right…
distributed-systems
Distributed systems patterns for locking, resilience, idempotency, and rate limiting. Use when implementing distributed locks, circuit breakers, retry policies, idempotency keys, token bucket rate limiters, or fault tolerance patterns.