buffer-analytics
Collect and analyze social media data from Buffer in a local SQLite database. Stores your full post history and metrics across connected channels (such as LinkedIn, X/Twitter, Bluesky, and others) so you can run SQL queries or view reports on engagement, clicks, and views. Activa
Supply asset profile
Data, BI, and analytics
CSV, SQL, notebooks, dashboards, data pipelines, BI, ETL, and spreadsheet analysis.
Scenario
Database and SQL
I need my agent to inspect database schemas, write SQL, and explain query results.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add danicat/skills --skill buffer-analytics
Maintenance
fresh
Pushed today
Risk
Needs review
Permission surface may require sandboxing
GitHub quality
16
59/100 Quality · 70/100 Trust
Coverage tags
Review notes
Permission surface may require sandboxing · Low GitHub adoption signal
Agent adoption scorecard
Trust, audit, and install readiness at a glance
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
PromisingUseful candidate, but compare it with alternatives before adopting.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Human review before install
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
16 GitHub stars
Repo activity
16 stars, 3 forks
Maintenance
Pushed today
License
Apache-2.0
Install
npx skills add danicat/skills --skill buffer-analytics
Install safety
standard package or runtime install path
Permission surface
shell or command execution, network or browser access
Agent outcomes
No agent outcome data yet
Docs
Usable metadata, review docs
Risk summary
Review before production
- Low GitHub adoption signal
- Quality score needs review
- Permission surface needs review: shell or command execution, network or browser access
- GitHub adoption: 16 GitHub stars
Install readiness
Install path available
- Install path is available
- Repository evidence is available
- License is declared
- No Agent Proven outcome evidence yet
Agent-readable metadata
Machine-readable decision data for this skill.
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
- Database and SQL workflows
- Claude Code teams
- builders willing to evaluate younger projects
- Understand table relationships
Suited agents
Install decision
- Command
- npx skills add danicat/skills --skill buffer-analytics
- Policy
- review
- Human review
- yes
Trust and risk
- Trust
- 62/100
- Audit
- 75/100
- Risk level
- Needs review
Outcome loop
- Endpoint
- /api/agent/outcome
- Event ID
- resolve
- Outcomes
- 5
Install command
npx skills add danicat/skills --skill buffer-analyticsDo not use when
- teams that need a vendor-supported SLA
- production agents without a repository review
- Low GitHub adoption signal
- High-risk permission hints: Shell or command execution
- Permission surface may require sandboxing
Agent safety v2
47/100 · Avoid automatic install
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
high
Shell or command execution
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Network access
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Database access
Skill may inspect schemas, query databases, or work with persistent stores.
- High-risk permission hints: Shell or command execution
- Permission surface may require sandboxing
Install targets
Install this skill in your agent workflow
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
OpenAgentSkill CLI
Resolve policy, run the source installer safely, and report a verified install receipt.
$ npx --yes https://github.com/Leon-Drq/openagentskill/releases/download/cli-v0.2.1/openagentskill-0.2.1.tgz install danicat-buffer-analyticsAgent resolve plan
Let an agent verify fit before installing.
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20buffer-analytics%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20buffer-analytics%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/danicat-buffer-analytics/install
Agent should check
- Task fit and alternatives from Resolve API.
- Audit score, trust score, and safety policy warnings.
- Install target compatibility for Codex, Claude Code, Cursor, or CLI.
Copy prompt
Task: Use buffer-analytics in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20buffer-analytics%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/danicat-buffer-analytics/install
Install command: npx skills add danicat/skills --skill buffer-analytics
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Give an agent the install path, not another directory page.
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/danicat-buffer-analytics/install
LLM text format
/api/skills/danicat-buffer-analytics/install?format=text
Find alternatives
/api/skills/search?q=buffer-analytics&limit=3
Agent prompt
Use buffer-analytics for this task. Review https://www.openagentskill.com/api/skills/danicat-buffer-analytics/install, then install with: npx skills add danicat/skills --skill buffer-analyticsRegistry metadata
Agent-readable profile for automatic skill selection.
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/danicat-buffer-analytics
LLM text
/api/registry/manifest/danicat-buffer-analytics?format=text
Install alias
/api/registry/install/danicat-buffer-analytics
Recommend
/api/registry/recommend?task=Use%20buffer-analytics%20in%20an%20agent%20workflow&limit=3
Agent fit
Database and SQL
Use-case tags
Platforms
Claude Code
Audit report
Needs review · 75/100
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Fallback candidate for Database and SQL
Prototype with this skill first; keep a fallback candidate ready.
Role in stack
Fallback candidate
Primary fit
Database and SQL
Trust label
Prototype first
Install path
Command ready
Use when
- Database and SQL workflows
- Claude Code teams
- builders willing to evaluate younger projects
Evidence
- recent repository activity
- install command or GitHub repo available
- 59/100 quality profile
- 1 OpenAgentSkill engagement events
review first
- Low GitHub adoption signal
Implementation path
- 1Install it in a sandbox agent and run one Database and SQL task end to end.
- 2Compare output quality, latency, and failure behavior against at least one alternative.
- 3Promote it into production only after reviewing repository permissions, license, and maintenance signals.
Trust profile
Sandbox only
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
FIX16 GitHub stars
Stars/forks activity
FIX16 stars, 3 forks; issue activity unavailable in current metadata
Recent maintenance
PASSPushed today
License clarity
PASSApache-2.0
Good signals
- AI review approved
- Install path is available
- Repository evidence is available
- Recently maintained repository
- Install command has no obvious high-risk pattern
- Outcome loop is ready but needs first real agent run
Review before install
- Low GitHub adoption signal
- Quality score needs review
- Permission surface needs review: shell or command execution, network or browser access
- GitHub adoption: 16 GitHub stars
- Stars/forks activity: 16 stars, 3 forks; issue activity unavailable in current metadata
- Permission surface: shell or command execution, network or browser access
- No real agent outcome reports yet
- Human review required before unattended installation
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Promising candidate for agent workflows
Useful candidate, but compare it with alternatives before adopting.
Workflow fit
Use this skill in these scenarios
Work with data stores
Database and SQL
I need my agent to inspect database schemas, write SQL, and explain query results.
Operate web apps
Browser automation
I need my agent to control a browser, fill forms, and verify web app workflows.
Investigate faster
Research agents
I need my agent to research a topic, compare sources, and produce a concise report.
Workflow fit
Add it to a complete workflow
Turn skills into distribution
Content growth agent
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Operate and verify web apps
Browser QA agent
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Find, compare, and synthesize
Research report agent
A workflow for agents that gather sources, compare claims, summarize long material, and draft useful research briefs.
Alternative shortlist
Compare before you install
Similar skills that may fit this task.
D3
Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada:
Echarts
Apache ECharts is a powerful, interactive charting and data visualization library for browser
Data Science For Beginners
10 Weeks, 20 Lessons, Data Science for All!
Sequelize
Feature-rich ORM for modern Node.js and TypeScript, it supports PostgreSQL (with JSON and JSONB support), MySQL, MariaDB, SQLite, MS SQL Server, Snowflake, Oracle DB, DB2 and DB2 for IBM i.
Overview
--- name: buffer-analytics description: > Collect and analyze social media data from Buffer in a local SQLite database. Stores your full post history and metrics across connected channels (such as LinkedIn, X/Twitter, Bluesky, and others) so you can run SQL queries or view reports on engagement, clicks, and views. Activate when you need to analyze social media performance, find the best days or times to post, identify top-performing content, or query Buffer data with SQL. license: Apache-2.0 metadata: category: analytics tags: "buffer, social-media, analytics, sql, metrics, optimization" author: Daniela Petruzalek (daniela@danicat.dev) version: "0.2.0" catalog: https://skills.danicat.dev ---
# Buffer Analytics: SQLite Ingestion & SQL Query Engine
The `buffer-analytics` skill provides high-performance data warehousing and SQL querying for social media data downloaded via the Buffer CLI (`@bufferapp/cli`). It ingests raw payloads without filtering into a local SQLite database and provides a SQL interface for deep content crunching.
## Available scripts - `scripts/buffer_analytics.py`: Automated sync and report CLI (incremental sync, backfill, pre-packaged reports, ad-hoc queries). Executed via `uv run scripts/buffer_analytics.py` (requires Node.js 18+ and `@bufferapp/cli`). - `scripts/test_buffer_analytics.py`: Unit and regression test suite validating schema, query extraction, and CLI flags.
---
## ⚡ Quick Start & Primary Actions
All operations are driven via the bundled Python script in `scripts/buffer_analytics.py`:
```bash # 1. Incremental Sync (New posts + 2-day lookback metrics refresh) uv run scripts/buffer_analytics.py sync --db path/to/database.db
# 2. Full Historical Backfill (Paginates through entire history) uv run scripts/buffer_analytics.py sync --full --db path/to/database.db
# 3. Run Pre-Packaged Reports uv run scripts/buffer_analytics.py report overview --db path/to/database.db uv run scripts/buffer_analytics.py report top-posts --db path/to/database.db uv run scripts/buffer_analytics.py report channels --db path/to/database.db uv run scripts/buffer_analytics.py report timing --db path/to/database.db uv run scripts/buffer_analytics.py report hooks --db path/to/database.db
# 4. Run Ad-Hoc SQL Query uv run scripts/buffer_analytics.py query "SELECT service, AVG(impressions), AVG(reactions) FROM v_posts_summary WHERE status = 'sent' GROUP BY service" --db path/to/database.db ```
If `--db` is omitted, the script defaults to `buffer_analytics.db` in the current working directory.
---
## 🗄️ Database Schema & Relational Structure
The database maintains 6 normalized relational tables and high-performance SQL views. Detailed DDL and schema definitions are in [`references/schema.md`](references/schema.md).
### Tables
1. **`channels`**: Connected social accounts and metadata. - Key columns: `id` (PK), `organization_id`, `name`, `service` (`linkedin`, `twitter`, `bluesky`), `display_name`, `timezone`, `is_disconnected`, `raw_json`, `synced_at`. 2. **`posts`**: Individual posts, scheduling state, and content. - Key columns: `id` (PK), `channel_id` (FK), `channel_service`, `status` (`sent`, `scheduled`, `draft`), `text`, `external_link`, `sent_at`, `due_at`, `char_count`, `word_count`, `has_link`, `has_media`, `thread_count`, `raw_json`, `synced_at`. 3. **`post_metrics`**: Time-series metrics per post. - Key columns: `id` (PK), `post_id` (FK), `channel_service`, `metric_type` (`impressions`, `reach`, `reactions`, `comments`, `reposts`, `clicks`, `engagementRate`), `value`, `synced_at`. 4. **`post_assets`**: Attached images, videos, and media URLs. - Key columns: `id` (PK), `post_id` (FK), `type`, `mime_type`, `source`, `thumbnail`, `raw_json`. 5. **`post_tags`**: Campaign and topic tags assigned in Buffer. - Key columns: `id`, `post_id` (FK), `name`, `color`. 6. **`sync_history`**: Audit trail of all sync executions. - Key columns: `id` (PK), `channel_id`, `sync_mode`, `posts_fetched`, `posts_inserted`, `posts_updated`, `started_at`, `status`.
---
## 📊 Core Analytical View: `v_posts_summary`
The primary view for SQL analytics is `v_posts_summary`, which pivots metrics and computes calendar dimensions:
| Column | Type | Description | | :--- | :--- | :--- | | `post_id` | `TEXT` | Buffer Post ID | | `service` | `TEXT` | Network (`linkedin`, `twitter`, `bluesky`) | | `channel_name` | `TEXT` | Account handle/name | | `status` | `TEXT` | `sent`, `scheduled`, `draft` | | `sent_at` | `TEXT` | Full ISO timestamp | | `sent_date` | `TEXT` | Publication date (`YYYY-MM-DD`) | | `year_month` | `TEXT` | Calendar month (`YYYY-MM`) | | `day_of_week` | `TEXT` | Day name (`Monday`, `Tuesday`, etc.) | | `hour_of_day` | `INTEGER` | UTC hour (0–23) | | `char_count` / `word_count` | `INTEGER` | Text length metrics | | `has_link` / `has_media` | `INTEGER` | 1 if link or media is present | | `thread_count` | `INTEGER` | Number of posts in thread | | `impressions` | `REAL` | Total impressions / views | | `reach` | `REAL` | Unique accounts reached | | `reactions` | `REAL` | Likes and reactions | | `comments` | `REAL` | Comments received | | `reposts` | `REAL` | Retweets / reshares | | `clicks` | `REAL` | Link click count | | `engagement_rate` | `REAL` | Total engagement % | | `external_link` | `TEXT` | Live post URL | | `text` | `TEXT` | Full text copy |
---
## 🔍 SQL Analytics Cookbook
Pre-tested SQL query recipes are documented in [`references/queries.md`](references/queries.md).
### 1. Best Day of the Week by Channel ```sql SELECT service, day_of_week, COUNT(*) AS posts, ROUND(AVG(impressions), 0) AS avg_impressions, ROUND(AVG(reactions), 1) AS avg_reactions, ROUND(AVG(engagement_rate), 2) AS avg_eng_rate FROM v_posts_summary WHERE status = 'sent' AND day_of_week IS NOT NULL GROUP BY service, day_of_week ORDER BY service, avg_impressions DESC; ```
### 2. Best Posting Hours (UTC) ```sql SELECT service, hour_of_day || ':00 UTC' AS hour, COUNT(*) AS posts, ROUND(AVG(impressions), 0) AS avg_impressions, ROUND(AVG(reactions), 1) AS avg_reactions FROM v_posts_summary WHERE status = 'sent' AND impressions > 0 GROUP BY service, hour_of_day HAVING COUNT(*) >= 3 ORDER BY avg_impressions DESC; ```
### 3. Impact of Links in Body vs. First Comment ```sql SELECT service, CASE WHEN has_link = 1 THEN 'Link in Body' ELSE 'No Link / First Comment' END AS placement, COUNT(*) AS posts, ROUND(AVG(impressions), 0) AS avg_impressions, ROUND(AVG(reactions), 1) AS avg_reactions FROM v_posts_summary WHERE status = 'sent' AND service = 'linkedin' GROUP BY placement; ```
---
## 📚 Progressive Disclosure & References
- **Full DDL Schema Reference**: [`references/schema.md`](references/schema.md) — Exact SQL table definitions, column types, constraints, and views. - **SQL Query Recipes**: [`references/queries.md`](references/queries.md) — Analytical queries for timing, link penalties, hooks, and topic cohorts. - **Workflows Guide**: [`references/workflows.md`](references/workflows.md) — Operational guidance for periodic backfills and cron automations. - **Inquiry Playbook**: [`references/inquiry_playbook.md`](references/inquiry_playbook.md) — Strategic questions for campaign and social retrospectives.
Technical details
- Version
- 1.0.0
- License
- Apache-2.0
- Last updated
- Aug 24, 2026
- Published
- Aug 24, 2026
Decision snapshot
Fallback candidate
recent repository activity
Audit
Install review
Install and adoption review
- Security
- 79/100
- Maintenance
- 100/100
- Install
- 92/100
Agent-proven evidence
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
- Success rate
- —
- Recent failure
- —
- Outcomes
- 0
- Output quality
- —
- Failed
- 0
- Not relevant
- 0
- Installs
- 0
- Risk blocked
- 0
- Setup needed
- 0
- Production
- 0
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Add to agent workflow
Free and open source. Review the report before installing into production agents.
Growth loop
Share kit
Scenario-led draft for buffer-analytics, ready for a manual X post.
buffer-analytics: Collect and analyze social media data from Buffer in a local SQLite database. Stores your ful... 16 stars https://www.openagentskill.com/skills/danicat-buffer-analytics?ref=x
Optional reply with install command
Listing + install path for buffer-analytics: https://www.openagentskill.com/skills/danicat-buffer-analytics?ref=x Install: npx skills add danicat/skills --skill buffer-analytics
Listing source
Registry indexed
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
- Creator
- danicat
- Source
- danicat/skills
- Indexed by
- OpenAgentSkill community index
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
Claim this skill listing
This Registry indexed listing is attributed to danicat but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Add the evidence badges to your README
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/danicat-buffer-analytics)
[](https://www.openagentskill.com/skills/danicat-buffer-analytics)
[](https://www.openagentskill.com/skills/danicat-buffer-analytics/audit)
[](https://www.openagentskill.com/skills/danicat-buffer-analytics)Author
danicat
@danicat
Tags
Platform fit
Health signals
- GitHub stars
- 16
- Quality score
- 32/100
- Last GitHub push
- Aug 23, 2026
- Framework hints
- Unknown
- OpenAgentSkill views
- 1
- Install copies
- 0
- Outbound clicks
- 0
Community signal
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Trust & safety
Sandbox only
- GitHub adoption16 GitHub starsFIX
- Stars/forks activity16 stars, 3 forks; issue activity unavailable in current metadataFIX
- Recent maintenancePushed todayPASS
- License clarityApache-2.0PASS
- README/SKILL.md completenessPublic metadata needs stronger README/SKILL.md contextINFO
- Dependency/runtime riskcommand execution surface, database surfaceINFO
Related skills
D3
Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada:
113.1K StarsEcharts
Apache ECharts is a powerful, interactive charting and data visualization library for browser
66.6K StarsData Science For Beginners
10 Weeks, 20 Lessons, Data Science for All!
35.6K StarsSequelize
Feature-rich ORM for modern Node.js and TypeScript, it supports PostgreSQL (with JSON and JSONB support), MySQL, MariaDB, SQLite, MS SQL Server, Snowflake, Oracle DB, DB2 and DB2 for IBM i.
30.4K Stars