{"skill":{"slug":"pocket-ai","displayName":"Pocket AI Integration","summary":"Transcribe, index, and semantically search all voice recordings, extracting action items and meeting insights for comprehensive conversation intelligence.","description":"# Pocket AI Skill\n\n**Voice recording transcription, semantic search, and meeting intelligence across all conversations.**\n\nPocket AI captures your meetings, calls, and thoughts via a wearable device, then transcribes and indexes everything for semantic search.\n\n## Quick Reference\n\n| What | Value |\n|------|-------|\n| API Base | `https://public.heypocketai.com/api/v1` |\n| API Key | `~/.config/pocket-ai/api_key` |\n| Auth | Bearer token |\n| Docs | https://docs.heypocketai.com/docs/api |\n\n## Core Capabilities\n\n### 1. Semantic Search (Most Powerful)\nSearch across ALL recordings by meaning, not just keywords.\n\n```bash\ncurl -s -X POST \\\n  -H \"Authorization: Bearer $(cat ~/.config/pocket-ai/api_key)\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"query\": \"your company manufacturing decisions\"}' \\\n  \"https://public.heypocketai.com/api/v1/public/search\"\n```\n\n**Returns:**\n- `userProfile.dynamicContext[]` — AI-built insights from all recordings\n- `relevantMemories[]` — Matching transcripts, action items, meeting sections\n- Speaker identification, timestamps, relevance scores\n\n### 2. Action Item Extraction\nPocket AI auto-extracts action items from meetings. Search for them:\n\n```bash\ncurl -s -X POST \\\n  -H \"Authorization: Bearer $(cat ~/.config/pocket-ai/api_key)\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"query\": \"action items tasks follow up\"}' \\\n  \"https://public.heypocketai.com/api/v1/public/search\"\n```\n\n### 3. List Tags\n```bash\ncurl -s -H \"Authorization: Bearer $(cat ~/.config/pocket-ai/api_key)\" \\\n  \"https://public.heypocketai.com/api/v1/public/tags\"\n```\n\n### 4. List Recordings\n```bash\ncurl -s -H \"Authorization: Bearer $(cat ~/.config/pocket-ai/api_key)\" \\\n  \"https://public.heypocketai.com/api/v1/public/recordings\"\n```\n\n### 5. Get Recording Details\n```bash\ncurl -s -H \"Authorization: Bearer $(cat ~/.config/pocket-ai/api_key)\" \\\n  \"https://public.heypocketai.com/api/v1/public/recordings/{recording_id}\"\n```\n\n### 6. Download Audio\n```bash\ncurl -s -H \"Authorization: Bearer $(cat ~/.config/pocket-ai/api_key)\" \\\n  \"https://public.heypocketai.com/api/v1/public/recordings/{recording_id}/audio\"\n```\n\n---\n\n## High-Value Query Patterns\n\n### Contact Context\n*\"What has been discussed with [person]?\"*\n```json\n{\"query\": \"conversations with Dylan Acquisition.com\"}\n{\"query\": \"Adrienne intercompany invoices discussion\"}\n{\"query\": \"meetings with Charlene\"}\n```\n\n### Business Decisions\n*\"What decisions were made about [topic]?\"*\n```json\n{\"query\": \"your company manufacturing team restructuring decisions\"}\n{\"query\": \"entity streamlining strategy\"}\n{\"query\": \"trading system rules discussed\"}\n```\n\n### Action Items & Follow-ups\n*\"What needs to be done?\"*\n```json\n{\"query\": \"action items tasks todo follow up\"}\n{\"query\": \"scheduled meetings upcoming\"}\n{\"query\": \"things to review or approve\"}\n```\n\n### Personal Insights\n*\"What have I said about [topic]?\"*\n```json\n{\"query\": \"trading psychology patience discipline\"}\n{\"query\": \"family financial planning kids college\"}\n{\"query\": \"team performance frustrations\"}\n```\n\n### Meeting Summaries\n*\"What happened in [meeting type]?\"*\n```json\n{\"query\": \"your company staff meeting summary\"}\n{\"query\": \"financial review discussion\"}\n{\"query\": \"geopolitical analysis conversation\"}\n```\n\n---\n\n## Response Structure\n\n### Search Response\n```json\n{\n  \"success\": true,\n  \"data\": {\n    \"userProfile\": {\n      \"dynamicContext\": [\n        \"AI-built insight from recordings...\",\n        \"Another pattern detected...\"\n      ],\n      \"staticFacts\": []\n    },\n    \"relevantMemories\": [\n      {\n        \"content\": \"Transcript segment or action item...\",\n        \"metadata\": {\"source\": \"turbopuffer\", \"sources\": [\"transcript_segment\", \"action_item\"]},\n        \"recordingDate\": \"2026-01-28 01:16:14\",\n        \"recordingId\": \"uuid\",\n        \"recordingTitle\": \"Untitled Recording\",\n        \"relevanceScore\": 8.19,\n        \"speakers\": \"SPEAKER_00, SPEAKER_01\",\n        \"transcriptionId\": \"uuid\"\n      }\n    ],\n    \"total\": 8,\n    \"timing\": 490\n  }\n}\n```\n\n### Memory Content Types\n- **Transcript segment:** `[timestamp] SPEAKER_XX: actual words spoken`\n- **Action item:** `Action item: Do the thing`\n- **Meeting section:** `(start-end) Section Title - Summary of what was discussed`\n\n---\n\n## Integration Points\n\n### Athena (Family Agent)\n- Query meeting context to understand your bandwidth\n- \"Am I free?\" → Check if recent recordings show heavy commitments\n- Feed meeting insights into scheduling decisions\n\n### Daily Briefings\n- Pull action items from yesterday's meetings\n- Summarize key decisions made\n- Flag urgent follow-ups\n\n### Task Management\n- Auto-surface action items as potential tasks\n- Cross-reference with existing todo lists\n- Track what's been mentioned but not yet acted on\n\n### Operations Channel\n- Post important decisions to #operations\n- Alert on critical discussions (team changes, financial decisions)\n\n---\n\n## Tags (Your Categories)\n\nCurrent tags: `ai`, `business`, `call`, `economy`, `finance`, `game`, `geopolitics`, `hockey`, `outlook`, `personal`, `sales`, `summary`, `test`, `victory`, `weather`, `work`\n\nUse tags to filter or categorize queries.\n\n---\n\n## Heartbeat Integration\n\nDuring heartbeats, optionally check for new action items:\n\n```python\n# Check for recent action items (last 24h)\nquery = \"action items from today\"\n# Parse response for new follow-ups\n# Surface anything urgent\n```\n\n---\n\n## Privacy & Security\n\n- All recordings encrypted end-to-end\n- Stored on US servers\n- API key should remain in `~/.config/pocket-ai/api_key`\n- Never log full transcripts to public channels\n\n---\n\n## Troubleshooting\n\n**Empty recordings list?**\n- Recordings may need device sync before API access\n- Use search endpoint instead (works with synced transcripts)\n\n**Auth errors?**\n- Check Bearer token format: `Authorization: Bearer pk_xxx`\n- Verify key in `~/.config/pocket-ai/api_key`\n\n**Search returns nothing?**\n- Try broader query terms\n- Check if recordings have been synced recently\n\n---\n\n## Helper Scripts\n\n### search.sh\n```bash\n#!/bin/bash\n# Usage: ./search.sh \"your query\"\nAPI_KEY=$(cat ~/.config/pocket-ai/api_key)\ncurl -s -X POST \\\n  -H \"Authorization: Bearer $API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d \"{\\\"query\\\": \\\"$1\\\"}\" \\\n  \"https://public.heypocketai.com/api/v1/public/search\"\n```\n\n### Python Helper\nSee `pocket_api.py` for full Python integration.\n","tags":{"latest":"1.0.1"},"stats":{"comments":0,"downloads":1319,"installsAllTime":0,"installsCurrent":0,"stars":0,"versions":2},"createdAt":1771459571477,"updatedAt":1778991559596},"latestVersion":{"version":"1.0.1","createdAt":1772311479744,"changelog":"Turn voice recordings into actionable intelligence. Semantic search, action items, meeting context.","license":null},"metadata":null,"owner":{"handle":"asabovetech","userId":"s179f9tzhnceejknt2n64cp77d88481v","displayName":"asabovetech","image":"https://avatars.githubusercontent.com/u/259675373?v=4"},"moderation":{"isSuspicious":false,"isMalwareBlocked":false,"verdict":"clean","reasonCodes":["review.llm_review"],"summary":"Review: review.llm_review","engineVersion":"v2.4.24","updatedAt":1779933011458}}