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 firebase-cloud-functionsgit 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/firebase-cloud-functions)<a href="https://agentmods.dev/skills/gdvega/super-android-kotlin-firebase-skill/firebase-cloud-functions"><img src="https://agentmods.dev/badge/skills/gdvega/super-android-kotlin-firebase-skill/firebase-cloud-functions.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.1 | $0.00028 | $0.00576 |
| Opus 5 | $0.00014 | $0.00288 |
| Sonnet 5 | $0.00006 | $0.00115 |
| Haiku 4.5 | $0.00003 | $0.00058 |
Grade A, and why
firebase-cloud-functions 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 8d 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 — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Purpose
Move privileged or trusted logic server-side while keeping Android clients simple.
When to use
- Adding callable or HTTP functions.
- Adding Firestore/Auth triggers.
- Validating operations that rules cannot express.
- Testing functions locally.
Inputs to inspect
- Use case and trust boundary.
- Input schema and auth/role requirements.
- Runtime, region and emulator setup.
- Android caller contract.
Required workflow
- Choose callable, HTTP or trigger based on caller and event source.
- Define input/output and error contract.
- Validate auth, roles and data server-side.
- Test locally with Emulator Suite.
- Document deploy command and rollback risk.
Rules
- Do not use functions as an insecure bypass.
- Validate every input.
- Do not log secrets or sensitive payloads.
- Make idempotency explicit for triggers.
- Control region and cost implications.
Related existing skills
Local skills to invoke
- firebase-core
- firestore
- security-privacy
- firebase-emulator-ci
- 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.
- firebase/agent-skills — use for deeper Firebase product, Firestore, Security Rules or emulator workflow guidance when installed.
Files commonly touched
functions/src/*firebase.jsonfirestore.rulesAndroid repository/service callerfunction tests
Commands to validate
npm test
firebase emulators:start --only functions,firestore
firebase emulators:exec "npm test"
firebase deploy --only functions:<name>
Common mistakes to avoid
- No auth checks.
- Returning inconsistent error shapes.
- Deploying without emulator test.
- Creating duplicate writes from non-idempotent triggers.
Checklist
- Auth checked.
- Input validated.
- Errors typed.
- Emulator tested.
- Deploy command documented.
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.
- 8d ago First seen · 102 lines · 28 tokens per session scan A 3ebdf41567c8
firebase-cloud-functions is a skill published in the GitHub repository GDvega/super-android-kotlin-firebase-skill (2 stars, last pushed 2mo ago), licensed MIT. It adds 28 tokens to every session and 576 once invoked, about $0.0001 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
object-storage
A single file-upload interface that can store files locally or with Alibaba Cloud OSS, Tencent Cloud COS, or Amazon S3. You choose the storage provider through an environment setting instead of changing application code.
backend-production-deploy
A production deployment procedure for NestJS and Prisma backends running with PM2 and Nginx on a remote server. Prisma manages database access, PM2 keeps the application running, and Nginx handles web traffic.
stripe-projects
Provision SaaS services + sync creds via Stripe Projects.
azure-eventhub-dotnet
Azure Event Hubs SDK for .NET. Use for high-throughput event streaming: sending events (EventHubProducerClient, EventHubBufferedProducerClient), receiving events (EventProcessorClient with checkpointing), partition management, and real-time data ingestion. Triggers: "Event Hubs", "event streaming"…
azure-mgmt-botservice-dotnet
Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".
django-storages-s3
Use when configuring Django to store static and media files on AWS S3 with django-storages. Invoke when working with the STORAGES setting, S3 buckets, presigned URLs, CloudFront, or boto3-backed file storage in settings.py. Configures the Django 4.2+ STORAGES dict, public/private custom backends, presigned GET/POST…