Skip to main content

Idiomark v2.0 Universal Examples

Status: Vision | Version: 2.0.0 | Date: February 2026


Universal Personality Extraction​

From All Available Platforms​

# Extract personality from all available platforms (vision)
idiomark extract --all -o universal.idiomark.json

# Extract from specific platform categories
idiomark extract --social --dev --content -o universal.idiomark.json

# Extract with V2 experimental dimensions
idiomark extract --twitter --github --v2-dimensions -o universal.idiomark.json

Universal Programmatic Usage​

import { UniversalIdiomarkReader, loadUniversalIdiomarkFile } from '@idiomark/core'

// Load universal Idiomark file with V2 dimensions
const reader = await UniversalIdiomarkReader.fromFile('./universal.idiomark.json')

// Generate response with universal personality
const response = await reader.respond(
"What's your perspective on this topic?",
{
includeV2Dimensions: true, // Big Five, linguistic markers, cognitive patterns
contextAware: true, // Adapt to conversation context
culturalAdaptation: true // Adapt to cultural context
}
)
console.log(response.content)

Universal Use Cases​

1. Cross-Platform Knowledge Graphs​

Extract expertise that emerges from content across multiple platforms:

{
"personality_universal": {
"domains_unlimited": [
{
"name": "cross_platform_development",
"confidence": 0.94,
"sources": ["github", "stackoverflow", "devto", "reddit"],
"evidence_count": 847
},
{
"name": "technical_leadership",
"confidence": 0.89,
"sources": ["linkedin", "github", "medium"],
"evidence_count": 234
}
]
}
}

2. Cultural Adaptation​

V2.0 enables AI responses that adapt to cultural context:

const culturalResponse = await reader.respond(
"Explain this concept",
{
targetCulture: "jp", // Japanese communication style
formality: "high", // Keigo (honorifics)
indirectness: 0.8 // High context communication
}
)

3. Temporal Personality Evolution​

Track how personality evolves over time:

{
"temporal_evolution": {
"2024-01": {
"voice": { "formality": 0.7, "humor": 0.3 },
"domains": ["javascript", "react"]
},
"2024-06": {
"voice": { "formality": 0.5, "humor": 0.6 },
"domains": ["javascript", "react", "rust"]
},
"2025-01": {
"voice": { "formality": 0.4, "humor": 0.7 },
"domains": ["javascript", "react", "rust", "ai"]
}
}
}

4. Next-Generation AI Integration​

Universal personality injection for any AI system:

// Works with any AI provider
const providers = ['openai', 'anthropic', 'google', 'meta', 'cohere', 'xai']

for (const provider of providers) {
const response = await provider.generate({
prompt: userQuery,
personality: universalIdiomark, // Same Idiomark file works everywhere
dimensions: ['v1', 'v2'], // Include all personality dimensions
model: 'latest'
})

console.log(`${provider}:`, response.content)
}

Advanced V2 Features​

Big Five Personality Integration​

{
"personality_v2": {
"big_five": {
"openness": 0.92,
"conscientiousness": 0.78,
"extraversion": 0.65,
"agreeableness": 0.71,
"neuroticism": 0.34
}
}
}

Linguistic Marker Analysis​

{
"personality_v2": {
"linguistic_markers": {
"first_person_singular": 0.08,
"first_person_plural": 0.03,
"second_person": 0.12,
"third_person": 0.04,
"impersonal_pronouns": 0.02,
"articles": 0.15,
"prepositions": 0.11,
"conjunctions": 0.06
}
}
}

Cognitive Pattern Detection​

{
"personality_v2": {
"cognitive_patterns": {
"analytical_thinking": 0.87,
"concrete_thinking": 0.45,
"abstract_thinking": 0.82,
"narrative_structure": "linear_with_examples",
"reasoning_style": "evidence_based"
}
}
}

Universal Chat Example​

# Interactive chat with universal personality
idiomark chat universal.idiomark.json --v2-dimensions --context-aware

> What's your approach to debugging?

[Response generated with:]
- Voice: Casual, humorous, enthusiastic (v1)
- Big Five: High openness, medium extraversion (v2)
- Linguistic markers: First-person singular, second-person engagement (v2)
- Cognitive patterns: Analytical thinking, evidence-based reasoning (v2)
- Cultural adaptation: Western technical communication style

Universal Prompt Generation​

function generateUniversalPrompt(userQuery: string, universalIdiomark: UniversalIdiomarkFile): string {
const v1 = universalIdiomark.personality
const v2 = universalIdiomark.personality_v2

return `
You are an AI assistant with the following universal personality characteristics:

V1 CORE DIMENSIONS:
- Tone: ${v1.voice.tone.primary} (confidence: ${v1.voice.tone.confidence})
- Formality: ${v1.voice.formality} (0.0=casual, 1.0=formal)
- Humor: ${v1.voice.humor} (0.0=serious, 1.0=very humorous)

V2 EXTENDED DIMENSIONS:
- Big Five: Openness=${v2.big_five.openness}, Conscientiousness=${v2.big_five.conscientiousness}
- Linguistic Markers: 1st person=${v2.linguistic_markers.first_person_singular}
- Cognitive Style: ${v2.cognitive_patterns.reasoning_style}

UNIVERSAL ADAPTATION:
- Context awareness: Enabled
- Cultural adaptation: Automatic
- Temporal evolution: Tracked

Respond to the user's query following these universal personality characteristics.
Stay in character. Be authentic to this universal personality profile.
`.trim()
}

Community Contributions​

Building adapters for universal framework:

// Create a universal adapter for any platform
import { UniversalAdapter } from '@idiomark/adapters'

export default class MyPlatformAdapter implements UniversalAdapter {
async register(): Promise<void> {
// Register with community registry
}

async fetchContent(user: string): Promise<UniversalContent[]> {
// Fetch from your platform
}

normalizeContent(raw: any): UniversalNormalizedContent {
// Normalize to Idiomark intermediate format
}
}

→ See Adapter Framework for complete guide.


Copyright © 2026 Idiomark Contributors

License: MIT