content_hub
Browser-based asset gallery for managing marketing assets. Visual grid with filter/search, brand context sidebar, and actions (preview, edit, generate). R2-ready manifest for future cloud sync. Use when browsing assets, managing content library, or generating new assets with brand context.
- License 许可
- MIT
- 最近更新
- 2026-10-09
- Stars
- ★ 2
- Forks
- 1
01 前言 Front Matter
- name
- content_hub
- license
- MIT
- metadata
- { "author": "claudekit", "version": "1.0.0" }
- description
- Browser-based asset gallery for managing marketing assets. Visual grid with filter/search, brand context sidebar, and actions (preview, edit, generate). R2-ready manifest for future cloud sync. Use when browsing assets, managing content library, or generating new assets with brand context.
- allowed-tools
- [ "Bash", "Read" ]
- argument-hint
- [action: open|browse|search]
02 资源文件 11
- 资产文件assets/hub.css12.3 KB
- 脚本assets/hub.js15.4 KB
- 资产文件assets/template.html7.7 KB
- 脚本scripts/lib/ai-bridge.cjs3.9 KB
- 脚本scripts/lib/brand-context.cjs3.4 KB
- 脚本scripts/lib/port-finder.cjs961 B
- 脚本scripts/lib/process-mgr.cjs2.1 KB
- 脚本scripts/lib/router.cjs7.4 KB
- 脚本scripts/lib/scanner.cjs6.9 KB
- 脚本scripts/server.cjs3.2 KB
- 脚本scripts/start-all.sh1.5 KB
03 SKILL.md 正文
Content Hub
Visual asset gallery for ClaudeKit Marketing.
Quick Start
# Open gallery
node .claude/skills/content-hub/scripts/server.cjs --open
# Rescan assets
node .claude/skills/content-hub/scripts/server.cjs --scan
# Stop server
node .claude/skills/content-hub/scripts/server.cjs --stop
Or use command: /write:hub
Features
- Gallery Grid: Thumbnails of assets/ folder
- Filter/Search: By type (banners, designs, etc.) and keywords
- Brand Sidebar: Displays user's colors and voice from docs/brand-guidelines.md
- Actions: Preview, Edit in Claude, Copy path, Generate new
- R2 Ready: Manifest schema supports Cloudflare R2 sync (UI disabled)
API Routes
| Route | Purpose |
|---|---|
/hub |
Gallery HTML |
/api/assets |
Asset list JSON |
/api/brand |
Brand context JSON |
/api/scan |
Trigger rescan |
/file/* |
Serve local files |
Manifest Schema
Assets stored in .assets/manifest.json with R2 fields:
{
"id": "abc123",
"path": "banners/hero.png",
"category": "banner",
"r2": {
"status": "local", // local|pending|synced|error
"bucket": null,
"url": null
}
}
Scripts
| Script | Purpose |
|---|---|
scripts/server.cjs |
HTTP server entry |
scripts/lib/scanner.cjs |
Scan assets directory |
scripts/lib/router.cjs |
HTTP routing |
scripts/lib/brand-context.cjs |
Extract brand guidelines |
Integration
Command: /write:hub
Related Skills: brand, ai-multimodal, design
Agents: content-creator, ui-ux-designer
04 同仓库更多 Skills
web_crawler_katana
High-speed web crawling using Katana patterns for deep site mapping, URL discovery, and content extraction.
server_log_analyzer
Analyzes Nginx/Apache server logs to identify Googlebot crawl patterns, errors, and performance bottlenecks.
schema_markup_generator
Auto-generates JSON-LD structured data for any page type (Article, Product, FAQ, LocalBusiness, etc.).
internal_linking_optimizer
Analyzes and optimizes the internal link graph of a website for SEO authority distribution.
google_trends_analyzer
Detects trending topics and seasonal patterns using Google Trends data for content planning and keyword strategy.
brand_context_analyzer
Tracks brand mentions, sentiment, and online reputation across web sources.