Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
A comprehensive collection of Agent Skills for context engineering, multi-agent architectures, and production agent systems.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
examples/digital-brain-skill/references/file-formats.md
1# File Format Reference23Detailed specifications for each file format used in Digital Brain.45---67## JSONL Files89### Schema Convention1011Every JSONL file starts with a schema definition line:1213```json14{"_schema": "schema_name", "_version": "1.0", "_description": "Purpose of this file"}15```1617This line is skipped during data processing but documents the expected structure.1819### Common Fields2021All data entries should include:2223```json24{25"id": "type_YYYYMMDD_HHMMSS", // Unique identifier26"created": "ISO8601", // Creation timestamp27"updated": "ISO8601" // Last modification (optional)28}29```3031### ideas.jsonl3233```json34{35"id": "idea_20241229_143022",36"created": "2024-12-29T14:30:22Z",37"idea": "Content of the idea",38"source": "observation|conversation|reading|shower_thought",39"pillar": "content_pillar_name",40"status": "raw|developing|ready|published|archived",41"priority": "high|medium|low",42"notes": "Additional context",43"tags": ["tag1", "tag2"]44}45```4647### posts.jsonl4849```json50{51"id": "post_20241229_160000",52"published": "2024-12-29T16:00:00Z",53"platform": "twitter|linkedin|newsletter|blog|youtube",54"type": "post|thread|article|video|podcast",55"content": "Full content or summary",56"url": "https://...",57"pillar": "content_pillar_name",58"metrics": {59"impressions": 0,60"likes": 0,61"comments": 0,62"reposts": 0,63"saves": 064},65"metrics_updated": "2024-12-29T20:00:00Z",66"notes": "What worked/didn't",67"tags": ["tag1", "tag2"]68}69```7071### contacts.jsonl7273```json74{75"id": "contact_johndoe",76"created": "2024-01-15T00:00:00Z",77"updated": "2024-12-29T00:00:00Z",78"name": "John Doe",79"handle": "@johndoe",80"email": "[email protected]",81"company": "Acme Inc",82"role": "CEO",83"location": "San Francisco, USA",84"circle": "inner|active|network|dormant",85"how_met": "Met at conference",86"relationship": "friend|mentor|peer|collaborator|investor|customer",87"topics": ["ai", "startups"],88"can_help_with": ["intros to VCs"],89"you_can_help_with": ["technical advice"],90"notes": "Personal context",91"last_contact": "2024-12-15T00:00:00Z",92"links": {93"twitter": "https://twitter.com/johndoe",94"linkedin": "https://linkedin.com/in/johndoe",95"website": "https://johndoe.com"96}97}98```99100### interactions.jsonl101102```json103{104"id": "int_20241229_100000",105"date": "2024-12-29T10:00:00Z",106"contact_id": "contact_johndoe",107"type": "call|coffee|dm|email|event|collab",108"context": "Discussed partnership opportunity",109"key_points": ["Point 1", "Point 2"],110"follow_ups": ["Send proposal", "Intro to Sarah"],111"sentiment": "positive|neutral|needs_attention"112}113```114115### bookmarks.jsonl116117```json118{119"id": "bm_20241229_120000",120"saved_at": "2024-12-29T12:00:00Z",121"url": "https://example.com/article",122"title": "Article Title",123"source": "article|video|podcast|tool|tweet|paper",124"category": "ai_agents|building|growth|productivity|leadership|industry|personal",125"summary": "1-2 sentence summary",126"key_insights": ["Insight 1", "Insight 2"],127"status": "unread|read|reviewed|archived",128"rating": 1-5,129"tags": ["tag1", "tag2"]130}131```132133### meetings.jsonl134135```json136{137"id": "mtg_20241229_140000",138"date": "2024-12-29T14:00:00Z",139"title": "Meeting Title",140"type": "1on1|team|external|interview|pitch|advisory",141"attendees": ["John Doe", "Jane Smith"],142"duration_mins": 30,143"agenda": ["Topic 1", "Topic 2"],144"notes": "Discussion summary",145"decisions": ["Decision made"],146"action_items": [147{"task": "Task description", "owner": "John", "due": "2024-12-31"}148],149"follow_up": "Next steps"150}151```152153### metrics.jsonl154155```json156{157"id": "metrics_20241229",158"week_of": "2024-12-23",159"recorded_at": "2024-12-29T00:00:00Z",160"audience": {161"twitter_followers": 5000,162"newsletter_subscribers": 1200,163"linkedin_connections": 3000,164"youtube_subscribers": 500165},166"engagement": {167"avg_impressions": 10000,168"avg_engagement_rate": 0.05,169"newsletter_open_rate": 0.45170},171"content": {172"posts_published": 7,173"threads_published": 2,174"newsletters_sent": 1175},176"business": {177"revenue": 0,178"mrr": 0,179"customers": 0,180"leads": 5181},182"personal": {183"deep_work_hours": 25,184"exercise_sessions": 4,185"books_read": 0.5186},187"notes": "Strong week for content"188}189```190191---192193## YAML Files194195### values.yaml196197```yaml198core_values:199- name: "Value Name"200description: "What it means"201in_practice: "How it shows up"202203beliefs:204- "Belief statement"205206contrarian_views:207- view: "The view"208reasoning: "Why you hold it"209210non_negotiables:211- "Line you won't cross"212213principles:214content_creation:215- "Principle"216business:217- "Principle"218```219220### goals.yaml221222```yaml223current_period:224quarter: "Q1 2025"225theme: "Growth focus"226227objectives:228- objective: "Objective statement"229why: "Why it matters"230key_results:231- description: "KR description"232target: 100233current: 25234unit: "followers"235status: "on_track|at_risk|behind|completed"236237north_star:238metric: "The one metric"239current: 1000240target: 10000241why: "Why this matters most"242```243244### learning.yaml245246```yaml247current_focus:248skill: "Skill name"249why: "Why learning this"250target_level: "Target proficiency"251deadline: "2025-03-31"252253skills:254- name: "Skill name"255category: "technical|creative|business|personal"256current_level: "beginner|intermediate|advanced|expert"257target_level: "Target"258status: "learning|practicing|maintaining"259resources:260- type: "course|book|tutorial|project"261title: "Resource name"262url: "https://..."263status: "not_started|in_progress|completed"264milestones:265- "Milestone description"266last_practiced: "2024-12-29"267```268269### circles.yaml270271```yaml272circles:273inner:274description: "Close relationships"275touchpoint_frequency: "weekly"276members:277- "Name - context"278279active:280description: "Current collaborators"281touchpoint_frequency: "bi-weekly"282members:283- "Name - context"284285groups:286founders:287description: "Fellow founders"288members:289- "Name"290291goals:292this_quarter:293- "Relationship goal"294```295296---297298## Markdown Files299300### Structure Convention301302All markdown files follow this structure:303304```markdown305# Title306307Brief description.308309---310311## Section 1312313Content...314315---316317## Section 2318319Content...320321---322323*Last updated: [DATE]*324```325326### Placeholder Convention327328Use `[PLACEHOLDER: description]` for user-fillable fields:329330```markdown331### Your Story332```333[PLACEHOLDER: Write your founder journey here]334```335```336337---338339## XML Files340341### Prompt Template Structure342343```xml344<?xml version="1.0" encoding="UTF-8"?>345<prompt name="prompt-name" version="1.0">346<description>347What this prompt does348</description>349350<instructions>351<context>352Background for the task353</context>354355<guidelines>356Rules to follow357</guidelines>358359<output_requirements>360Expected output format361</output_requirements>362</instructions>363364<examples>365Input/output examples366</examples>367</prompt>368```369370---371372## ID Generation373374### Convention375376`{type}_{YYYYMMDD}_{HHMMSS}` or `{type}_{unique_slug}`377378Examples:379- `idea_20241229_143022`380- `contact_johndoe`381- `post_20241229_160000`382- `bm_20241229_120000`383384### Uniqueness385386IDs must be unique within their file. Timestamp-based IDs ensure uniqueness for time-series data.387