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 GDvega/super-android-kotlin-firebase-skill --skill networking-retrofit-ktorgit clone --depth 1 https://github.com/GDvega/super-android-kotlin-firebase-skillWrote 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/gdvega/super-android-kotlin-firebase-skill/networking-retrofit-ktor)<a href="https://agentmods.dev/skills/gdvega/super-android-kotlin-firebase-skill/networking-retrofit-ktor"><img src="https://agentmods.dev/badge/skills/gdvega/super-android-kotlin-firebase-skill/networking-retrofit-ktor/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/gdvega/super-android-kotlin-firebase-skill/networking-retrofit-ktor"><img src="https://agentmods.dev/badge/skills/gdvega/super-android-kotlin-firebase-skill/networking-retrofit-ktor.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.00038 | $0.00579 |
| Opus 5 | $0.00019 | $0.00290 |
| Sonnet 5 | $0.00008 | $0.00116 |
| Haiku 4.5 | $0.00004 | $0.00058 |
Grade A, and why
networking-retrofit-ktor 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 11d 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 — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Purpose
Integrate remote APIs without coupling UI to transport details.
When to use
- Adding Retrofit or Ktor client.
- Handling HTTP errors and retries.
- Mapping DTOs to domain models.
- Adding auth headers or interceptors.
Inputs to inspect
- API contract and base URL handling.
- Existing network stack.
- Serialization library.
- Error and retry requirements.
- Security requirements for headers/logging.
Required workflow
- Reuse the existing network client if present.
- Define DTOs and service/client methods.
- Map DTOs to domain at the data boundary.
- Model errors and retry policy.
- Add tests with fakes or mock server when available.
Rules
- Do not call network directly from UI.
- Do not log tokens or secrets.
- Avoid infinite retries.
- Keep DTOs out of domain unless intentionally shared.
- Respect coroutine cancellation.
Related existing skills
Local skills to invoke
- android-architecture
- kotlin-core
- security-privacy
- ui-state-design
- testing
External companion skills to use when installed
Do not assume these companion skills are installed. Prefer the local skills above first, then consult Companion Skills for install and verification commands.
- android/skills — use for official Android workflow alignment when a first-party companion skill exists for the task.
Files commonly touched
network moduleDTOsAPI service/clientrepository implementationinterceptorstests
Commands to validate
./gradlew test
./gradlew assembleDebug
./gradlew lint
Common mistakes to avoid
- Returning raw Response to UI.
- Logging Authorization headers.
- No timeout policy.
- Swallowing HTTP error details needed by UX.
Checklist
- Client reused/configured.
- Errors modeled.
- DTO mapping tested.
- Timeouts/retries explicit.
- No secrets logged.
Example prompts
- Use $super-android-kotlin-firebase to connect this screen to a REST API.
- Use $super-android-kotlin-firebase to migrate a repository from Retrofit to Ktor.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 11d ago First seen · 103 lines · 38 tokens per session scan A 10ca086e73c7
networking-retrofit-ktor is a skill published in the GitHub repository GDvega/super-android-kotlin-firebase-skill (2 stars, last pushed 2mo ago), licensed MIT. It adds 38 tokens to every session and 579 once invoked, about $0.0002 per session on Opus 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.
Other skills, from other repositories
maui-networking-offline-data
Build MAUI networking and offline data. USE FOR: typed HttpClient, JSON serialization, Android 10.0.2.2, iOS simulator localhost, LAN/dev-tunnel fallback, debug cleartext, offline-first screens, SQLite/EF Core sync metadata, queues, encryption decisions, retries, cancellation. DO NOT USE FOR: auth redirects, Aspire…
maui-aspire-client
Connect MAUI apps to Aspire-hosted APIs. USE FOR: AddServiceDiscovery, typed HttpClient, https+http://apiservice, missing AppHost config on devices, Android emulator 10.0.2.2, iOS simulator localhost, physical-device LAN/dev-tunnel fallbacks, dev certs, Bearer handlers, debug-only cleartext. DO NOT USE FOR: offline…
network-tracing
Instrument API requests with spans and distributed tracing. Use when tracking request latency, correlating client-backend traces, or debugging API issues.
offline-first
Offline-first architecture patterns - NetworkBoundResource, sync strategies, conflict resolution, cache invalidation, and connectivity monitoring.
cloudkit
Implement, review, or debug iCloud sync in iOS/macOS apps with CloudKit. Covers CKContainer + private/public/shared CKDatabase, CKRecord / CKRecord.Reference / CKAsset, CKQuery + CKQueryOperation, CKSubscription (query/database/recordZone) with silent push, CKSyncEngine (iOS 17+: state serialization…
offline-first
Offline-first architecture patterns - NetworkBoundResource, sync strategies, conflict resolution, cache invalidation, and connectivity monitoring.