Skip to content

foryourhealth111-pixel/Vibe-Skills / bundled/skills/digital-brain

digital-brain

Verified

This skill should be used when the user asks to "write a post", "check my voice", "look up contact", "prepare for meeting", "weekly review", "track goals", or mentions personal brand, content creation, network management, or voice consistency.

FileKindSize
.gitignoreother442 B
AGENT.mdmarkdown1.5 KB
HOW-SKILLS-BUILT-THIS.mdmarkdown12.7 KB
README.mdmarkdown7.2 KB
SKILL.mdskill md6.9 KB
SKILLS-MAPPING.mdmarkdown8.6 KB
agents/AGENTS.mdmarkdown2.5 KB
agents/scripts/content_ideas.pyscript4.2 KB
agents/scripts/idea_to_draft.pyscript4.1 KB
agents/scripts/stale_contacts.pyscript3.8 KB
agents/scripts/weekly_review.pyscript3.1 KB
content/CONTENT.mdmarkdown2.2 KB
content/calendar.mdmarkdown2.0 KB
content/engagement.jsonlother663 B
content/ideas.jsonlother486 B
content/posts.jsonlother627 B
content/templates/linkedin-post.mdmarkdown1.6 KB
content/templates/newsletter.mdmarkdown1.5 KB
content/templates/thread.mdmarkdown1.1 KB
examples/content-workflow.mdmarkdown4.4 KB
examples/meeting-prep.mdmarkdown5.6 KB
identity/IDENTITY.mdmarkdown1.4 KB
identity/bio-variants.mdmarkdown1.7 KB
identity/brand.mdmarkdown3.6 KB
identity/prompts/content-generation.xmlconfig1.4 KB
identity/prompts/reply-generator.xmlconfig1.3 KB
identity/values.yamlconfig1.9 KB
identity/voice.mdmarkdown3.3 KB
knowledge/KNOWLEDGE.mdmarkdown2.4 KB
knowledge/bookmarks.jsonlother559 B
knowledge/competitors.mdmarkdown2.2 KB
knowledge/learning.yamlconfig2.1 KB
knowledge/research/_template.mdmarkdown1.3 KB
network/NETWORK.mdmarkdown3.0 KB
network/circles.yamlconfig2.0 KB
network/contacts.jsonlother897 B
network/interactions.jsonlother454 B
network/intros.mdmarkdown2.1 KB
operations/OPERATIONS.mdmarkdown2.0 KB
operations/goals.yamlconfig2.1 KB
operations/meetings.jsonlother635 B
operations/metrics.jsonlother707 B
operations/reviews/_weekly_template.mdmarkdown1.7 KB
operations/todos.mdmarkdown1.3 KB
package.jsonmanifest1.3 KB
references/file-formats.mdmarkdown7.3 KB
scripts/install.shscript1.9 KB

agents/scripts/content_ideas.py

View on GitHub
#!/usr/bin/env python3
"""
Content Ideas Generator
Generates content ideas based on knowledge base and past successful content.
"""

import json
import argparse
from datetime import datetime
from pathlib import Path

BRAIN_ROOT = Path(__file__).parent.parent.parent

def load_jsonl(filepath):
    """Load JSONL file, skipping schema lines."""
    items = []
    if not filepath.exists():
        return items
    with open(filepath, 'r') as f:
        for line in f:
            line = line.strip()
            if not line:
                continue
            try:
                data = json.loads(line)
                if '_schema' not in data:
                    items.append(data)
            except json.JSONDecodeError:
                continue
    return items

def get_top_performing_content():
    """Get posts with highest engagement."""
    posts = load_jsonl(BRAIN_ROOT / 'content' / 'posts.jsonl')

    # Sort by engagement metrics if available
    def engagement_score(post):
        metrics = post.get('metrics', {})
        return (
            metrics.get('likes', 0) +
            metrics.get('comments', 0) * 2 +
            metrics.get('reposts', 0) * 3
        )

    sorted_posts = sorted(posts, key=engagement_score, reverse=True)
    return sorted_posts[:5]

def get_recent_bookmarks(category=None):
    """Get recent bookmarks, optionally filtered by category."""
    bookmarks = load_jsonl(BRAIN_ROOT / 'knowledge' / 'bookmarks.jsonl')

    if category:
        bookmarks = [b for b in bookmarks if b.get('category') == category]

    # Sort by date, most recent first
    bookmarks.sort(key=lambda x: x.get('saved_at', ''), reverse=True)
    return bookmarks[:10]

def get_undeveloped_ideas():
    """Get ideas that haven't been developed yet."""
    ideas = load_jsonl(BRAIN_ROOT / 'content' / 'ideas.jsonl')

    raw_ideas = [i for i in ideas if i.get('status') == 'raw']
    return raw_ideas

def generate_suggestions(pillar=None, count=5):
    """Generate content suggestions."""

    output = f"""
# Content Ideas Generator
Generated: {datetime.now().isoformat()}
Filter: {pillar or 'All pillars'}

## Based on Top Performing Content
"""

    top_posts = get_top_performing_content()
    if top_posts:
        output += "\nYour best performing content themes:\n"
        for post in top_posts[:3]:
            output += f"- {post.get('pillar', 'Unknown')}: {post.get('type', 'post')}\n"
        output += "\n**Suggestion**: Create more content in these high-performing areas.\n"
    else:
        output += "\nNo post history yet. Start creating!\n"

    output += """
## From Your Knowledge Base
"""

    bookmarks = get_recent_bookmarks(pillar)
    if bookmarks:
        output += "\nRecent topics you've been researching:\n"
        for bm in bookmarks[:5]:
            output += f"- {bm.get('title', 'Untitled')} ({bm.get('category', 'uncategorized')})\n"
            if bm.get('key_insights'):
                output += f"  Key insight: {bm['key_insights'][0]}\n"
        output += "\n**Suggestion**: Turn these research topics into educational content.\n"
    else:
        output += "\nNo bookmarks yet. Save interesting content to fuel ideas.\n"

    output += """
## Undeveloped Ideas
"""

    ideas = get_undeveloped_ideas()
    if ideas:
        output += f"\nYou have {len(ideas)} undeveloped ideas:\n"
        for idea in ideas[:count]:
            output += f"- [{idea.get('priority', 'medium')}] {idea.get('idea', 'No content')}\n"
        output += "\n**Suggestion**: Pick one high-priority idea and develop it today.\n"
    else:
        output += "\nNo undeveloped ideas in the queue.\n"

    output += """
## Quick Prompts

1. "What's one thing I learned this week that others would find valuable?"
2. "What's a common mistake I see in my industry?"
3. "What question do I get asked most often?"
4. "What worked for me that's counterintuitive?"
5. "What do I wish I knew when I started?"
"""

    return output

if __name__ == '__main__':
    parser = argparse.ArgumentParser(description='Generate content ideas')
    parser.add_argument('--pillar', '-p', help='Filter by content pillar')
    parser.add_argument('--count', '-c', type=int, default=5, help='Number of ideas to show')

    args = parser.parse_args()
    print(generate_suggestions(args.pillar, args.count))
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexUnverifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall