teamday-ai/agents/firestore
Claude Code and agent skill by teamday-ai/agents
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Query and manage Google Firestore databases. Use TypeScript scripts for typed access or REST API via curl. Ideal for Firebase/GCP projects.
Install
npx vskill@latest install teamday-ai/agents/firestoreSKILL.md
Firestore Skill
Query and manage Google Firestore databases using TypeScript scripts or the REST API.
Quick Start
Prerequisites
| Variable | Description | Example | |
|---|---|---|---|
GOOGLE_APPLICATION_CREDENTIALS_JSON | Service account key JSON (stringified) | {"type":"service_account",...} | |
FIREBASE_PROJECT_ID | Firebase/GCP project ID | my-project-123 |
First-Time Setup
Verify Connection
TypeScript Script Recipes
List Collections
Get Document
Query Collection
Set/Update Document
REST API Alternative
For environments without bun/npm, use the Firestore REST API directly.
Get Document via REST
List Documents via REST
Error Handling
| Error | Cause | Solution | |
|---|---|---|---|
PERMISSION_DENIED | Service account lacks access | Check Firestore IAM permissions | |
NOT_FOUND | Document/collection doesn't exist | Verify path | |
UNAUTHENTICATED | Invalid credentials | Check GOOGLE_APPLICATION_CREDENTIALS_JSON | |
Cannot find module | Dependencies not installed | Run cd .claude/skills/firestore/scripts && bun install | |
INVALID_ARGUMENT | Query syntax error | Check field name and value types |
Managed Service Setup
Firebase/Firestore
- Go to Firebase Console — Project Settings — Service accounts
- Generate new private key — download JSON
- Stringify the JSON and set as
GOOGLE_APPLICATION_CREDENTIALS_JSON - Set
FIREBASE_PROJECT_IDto your project ID
Stringify JSON for env var
Tips
- Use the scripts — they handle auth, formatting, and error handling
- First run `fs-list.ts` to discover available collections
- Then `fs-get.ts` to inspect individual documents
- Use `--merge` for partial updates to avoid overwriting entire documents
- Firestore doesn't allow `undefined` — use
nullor omit the field - Collection/document paths alternate:
collection/document/subcollection/document - REST API is verbose but works without any npm dependencies
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/teamday/firestore/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/teamday-ai/agents/firestore)