원클릭으로
xport
Use when an agent needs to search, inspect, summarize, or retrieve tweets already captured by XPort in PostgreSQL or the hosted XPort API
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when an agent needs to search, inspect, summarize, or retrieve tweets already captured by XPort in PostgreSQL or the hosted XPort API
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | xport |
| description | Use when an agent needs to search, inspect, summarize, or retrieve tweets already captured by XPort in PostgreSQL or the hosted XPort API |
Use xport to read tweets and media metadata that XPort already captured through the browser extension and stored in PostgreSQL. Search/get/recent/stats are read-only stored-data access. transcribe is an explicit daemon-side enrichment action for one stored video media row.
Do not use this for live X/Twitter reads, posting, liking, following, profile lookup, or filling gaps from X/Twitter. The only allowed new X/Twitter CDN request is an explicit user-requested media enrichment action against a URL already stored in tweet_media.
From the XPort repo:
skill/xport search "postgres" --api-url "$XPORT_API_URL" --token "$XPORT_API_TOKEN"
Environment fallbacks:
| Variable | Purpose |
|---|---|
XPORT_API_URL | Hosted XPort API base URL |
XPORT_API_TOKEN | Bearer token for read endpoints |
XPORT_INGEST_TOKEN or INGEST_TOKEN | Token fallback when no read-specific token exists |
DATABASE_URL | Direct PostgreSQL reads when no API URL is supplied |
Direct database mode needs psycopg available in the Python environment. API mode uses only Python stdlib.
| Task | Command |
|---|---|
| Search stored tweets | skill/xport search "query" --limit 20 |
| Recent stored tweets | skill/xport recent --author seth --since 2026-05-01T00:00:00Z |
| Agent-ready daily digest data | skill/xport digest --since 2026-05-24T00:00:00Z |
| Fetch one tweet | skill/xport get 1234567890 --include-raw |
| Fetch one tweet with media | skill/xport get 1234567890 --include-media |
| List media for a tweet | skill/xport media 1234567890 |
| Transcribe one stored video | skill/xport transcribe 1234567890:0 |
| Return stored image as data URL | skill/xport media-content 1234567890:1 --data-url |
| Database stats | skill/xport stats |
| JSONL for pipelines | skill/xport search "query" --jsonl |
Useful filters: --author, --since, --until, --endpoint, --limit, --offset, --include-raw, --include-media.
stats to check coverage when the request is broad.digest --since <UTC-midnight> for daily topic summaries. It returns tweet_count, filter metadata, top authors, source endpoints, and the captured tweet rows so the agent can write the narrative summary.search or recent with tight filters.get --include-media when media/transcript context matters.get --include-raw only when normalized fields are not enough.| Mistake | Fix |
|---|---|
| Treating missing results as proof the tweet does not exist | Say it was not found in stored XPort data |
| Using live X/Twitter tools to fill gaps | Ask for explicit permission and keep it outside this skill |
| Transcribing automatically while browsing | Only run transcribe for a user-selected stored media row |
| Dumping raw JSON by default | Use normalized output first; add --include-raw for field-level work |
| Printing tokens in command output | Never echo token values; pass them through env or --token |