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/stale_contacts.py

View on GitHub
#!/usr/bin/env python3
"""
Stale Contacts Finder
Identifies contacts that haven't been reached out to recently.
"""

import json
from datetime import datetime, timedelta
from pathlib import Path

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

# Thresholds by circle (in days)
THRESHOLDS = {
    'inner': 14,      # 2 weeks
    'active': 30,     # 1 month
    'network': 60,    # 2 months
    'dormant': 180    # 6 months (for potential reactivation)
}

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 days_since(date_str):
    """Calculate days since a date string."""
    if not date_str:
        return 999  # Very stale if no date
    try:
        date = datetime.fromisoformat(date_str.replace('Z', '+00:00'))
        return (datetime.now(date.tzinfo) - date).days
    except (ValueError, TypeError):
        return 999

def find_stale_contacts():
    """Find contacts needing outreach."""
    contacts = load_jsonl(BRAIN_ROOT / 'network' / 'contacts.jsonl')

    stale = {
        'urgent': [],      # Way overdue
        'due': [],         # Due for contact
        'coming_up': []    # Getting close
    }

    for contact in contacts:
        circle = contact.get('circle', 'network')
        threshold = THRESHOLDS.get(circle, 60)
        days = days_since(contact.get('last_contact'))

        contact_info = {
            'name': contact.get('name', 'Unknown'),
            'circle': circle,
            'days_since': days,
            'threshold': threshold,
            'handle': contact.get('handle', ''),
            'notes': contact.get('notes', '')[:100]
        }

        if days > threshold * 1.5:
            stale['urgent'].append(contact_info)
        elif days > threshold:
            stale['due'].append(contact_info)
        elif days > threshold * 0.75:
            stale['coming_up'].append(contact_info)

    return stale

def generate_report():
    """Generate stale contacts report."""
    stale = find_stale_contacts()

    output = f"""
# Stale Contacts Report
Generated: {datetime.now().isoformat()}

## Urgently Overdue ({len(stale['urgent'])})
"""

    if stale['urgent']:
        for c in sorted(stale['urgent'], key=lambda x: -x['days_since']):
            output += f"- **{c['name']}** ({c['circle']}) - {c['days_since']} days since contact\n"
            if c['handle']:
                output += f"  {c['handle']}\n"
    else:
        output += "None! You're on top of things.\n"

    output += f"""
## Due for Contact ({len(stale['due'])})
"""

    if stale['due']:
        for c in sorted(stale['due'], key=lambda x: -x['days_since']):
            output += f"- {c['name']} ({c['circle']}) - {c['days_since']} days\n"
    else:
        output += "None due right now.\n"

    output += f"""
## Coming Up ({len(stale['coming_up'])})
"""

    if stale['coming_up']:
        for c in sorted(stale['coming_up'], key=lambda x: -x['days_since']):
            output += f"- {c['name']} ({c['circle']}) - {c['days_since']} days (threshold: {c['threshold']})\n"
    else:
        output += "No contacts approaching threshold.\n"

    output += """
## Suggested Actions

1. Send a quick "thinking of you" message to urgent contacts
2. Schedule calls with due inner-circle contacts
3. Engage with content from coming-up contacts

## Thresholds

- Inner circle: Every 2 weeks
- Active: Every month
- Network: Every 2 months
- Dormant: Quarterly check for reactivation
"""

    return output

if __name__ == '__main__':
    print(generate_report())
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