How this skill is triggered — by the user, by Claude, or both
Slash command
/feedmob-campaign-creator:civitai-analystThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
name: civitai-analyst
mcporter.jsonreferences/queries/content-theme-analysis.sqlreferences/queries/quality-vs-engagement.sqlreferences/queries/tag-performance.sqlreferences/queries/top-performing-assets.sqlreferences/queries/video-comparison.sqlreferences/queries/week-over-week-comparison.sqlreferences/queries/weekly-feedback-stats.sqlreferences/query-index.mdreferences/report-templates.mdreferences/schema.mdAnalyze video performance data on Civitai through natural language queries. Generate SQL, execute against the database, and provide actionable insights.
query_civitai_dbexport CIVITAI_RECORD_MCP_SERVER_TOKEN="<token>"
export MCPORTER_CONFIG="${SKILL_DIR}/mcporter.json"
test -f "${MCPORTER_CONFIG}"
npx mcporter list --config "${MCPORTER_CONFIG}"
npx mcporter list civitai_records --config "${MCPORTER_CONFIG}"
Execute SQL with mcporter so every query is auditable and consistently configured:
npx mcporter call civitai_records.query_civitai_db \
--config "${MCPORTER_CONFIG}" --output json \
sql="SELECT ..."
Rules:
--output jsonsql=$(cat <<'SQL' ... SQL)Error Handling: If query is rejected, response contains:
{
"allowed": false,
"reason": "...",
"violation_type": "...",
"suggestions": "..."
}
Fix the SQL based on the error and retry.
npx mcporter call civitai_records.query_civitai_db with validated SQL'c29' if not specified'2025-01-06T00:00:00Z'Date Calculations:
Assets (videos/images):
https://civitai.com/images/{assets.civitai_id}
Posts:
https://civitai.com/posts/{civitai_posts.civitai_id}
Always include clickable links in results for easy navigation.
When comparing videos (e.g., "rank 2 vs rank 9"):
Based on analysis, provide actionable suggestions:
Example insights:
For weekly reports, use templates from references/report-templates.md:
Generate reports by:
Respond in the same language as the user's query.
| File | When to Read |
|---|---|
references/schema.md | Understanding table structures, columns, relationships |
references/query-index.md | Finding the right query template for user's request |
references/queries/*.sql | Loading specific query when needed |
references/report-templates.md | Generating weekly reports |
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub feed-mob/agent-skills --plugin feedmob-content-tools