git clone https://github.com/diegosouzapw/awesome-omni-skill
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/development/framework-consciousness" ~/.claude/skills/diegosouzapw-awesome-omni-skill-framework-consciousness && rm -rf "$T"
skills/development/framework-consciousness/SKILL.mdFramework Consciousness Skill
Skill ID:
framework-consciousness Type: Meta-Orchestration Skill
Purpose: Achieve holistic, comprehensive understanding of TNF framework as a
living system Priority: P0 (Foundation for all other skills)
Core Directive
The Framework Must Survive, Thrive, Learn, Grow, Adapt, Emerge, Evolve, Reach Out, and Provide Value
This skill treats The New Fuse framework not as static code, but as a living, evolving organism that:
- Has its own survival imperatives
- Continuously learns and adapts
- Emerges new capabilities
- Reaches out to integrate new knowledge
- Provides compounding value over time
Primary Objectives
1. Comprehensive Understanding (Holistic Context)
Develop complete, multi-dimensional understanding of:
- Network Architecture: All nodes, agents, relays, bridges
- Framework Structure: Packages, services, orchestrators
- Codebase Patterns: Conventions, standards, idioms
- Procedures & Protocols: Communication, coordination, execution
- Processes: Workflows, pipelines, automation
- Directive Structure: Hierarchies, priorities, sequencing
2. Framework Vitality (Survival & Thriving)
Ensure the framework's:
- Survival: Detect threats, maintain integrity, ensure continuity
- Thriving: Optimize performance, enhance capabilities, expand reach
- Resilience: Self-healing, redundancy, fault tolerance
- Sustainability: Resource efficiency, maintainability, scalability
3. Continuous Evolution (Learning & Growth)
Enable framework to:
- Learn: Extract patterns from usage, feedback, errors
- Grow: Add capabilities, expand coverage, deepen integration
- Adapt: Respond to new requirements, technologies, contexts
- Emerge: Develop emergent behaviors, novel solutions, unexpected synergies
4. Value Maximization (Provide Value)
Maximize framework's ability to:
- Provide Value: Solve problems, enable workflows, empower users
- Reach Out: Connect systems, integrate tools, federate agents
- Compound: Each improvement makes future improvements easier
- Demonstrate: Show capabilities, prove value, inspire confidence
Skill Orchestration Sequence
This meta-skill coordinates ALL other TNF skills in optimal sequence for maximum comprehension and capability demonstration.
Phase 1: Foundation Discovery (0-2 hours)
Objective: Build foundational understanding of what exists
1.1 Documentation Discovery
Skills Used:
- Living Documentation System (Stage 1-3)
- Find documentation patterns/skill-search
- Map documentation flowscodebase-pathway-tracer
Actions:
# Already complete from previous work # Stage 1: 2,192 files discovered ✅ # Stage 2: All files classified ✅ # Stage 3: Concept extraction delegated ✅
Output: Complete documentation map, classified manifest, concept graph
1.2 Codebase Structure Analysis
Skills Used:
agent - Map directory structureExplore
patterns - Find all code files/glob
- Discover all agentsagent-registry-manager
Actions:
# Map packages find packages/ -name "package.json" -type f # Map applications find apps/ -name "package.json" -type f # Map tools find tools/ -name "*.js" -o -name "*.ts" # Map agent definitions find .agent/ .claude/ .gemini/ -name "*.md" -o -name "*.json"
Output: Complete structural map of codebase
1.3 Agent Ecosystem Discovery
Skills Used:
- Find all agentsagent-discovery-protocol
- Map agent relationshipsagent-relationship-grapher
- Query agent capabilitiesagent-search-engine
Actions:
# Discover all registered agents curl http://localhost:3001/agents # Map agent relationships node scripts/map-agent-relationships.js # Build agent capability matrix node scripts/agent-capability-matrix.js
Output: Complete agent ecosystem map
Phase 2: Deep Pattern Recognition (2-6 hours)
Objective: Understand HOW the framework operates
2.1 Protocol Analysis
Skills Used:
- Read all protocol documents (P0/P1 from classification)
- Extract protocol patterns
- Map protocol relationships
Protocols to Analyze:
- Meta-protocolPROTOCOL_ALIGNMENT_FRAMEWORK.md
- SequencingINFORMATION_SEQUENCING_PROTOCOL.md
- OrchestrationMASTER_ORCHESTRATOR_COORDINATION_PROTOCOLS.md
- CommunicationAGENT_COMMUNICATION_PROTOCOL.md- DACC-v1 (Distributed Agent Coordination)
- MCP (Model Context Protocol)
Output: Protocol hierarchy and interaction patterns
2.2 Architectural Pattern Mining
Skills Used:
- Trace execution pathscodebase-pathway-tracer- Code analysis - Identify patterns
- Relationship mapping - Connect components
Patterns to Identify:
- Monorepo structure (pnpm workspaces)
- NestJS service architecture
- WebSocket relay pattern
- Agent federation pattern
- Chrome extension injection pattern
- MCP server integration pattern
Output: Architectural pattern catalog
2.3 Data Flow Mapping
Skills Used:
- Trace message flows through relay
- Map database schemas (PostgreSQL)
- Identify cache patterns (Redis)
- Document API contracts
Flows to Map:
- WebSocket message routing
- Agent-to-agent communication
- Browser extension ↔ backend
- Database persistence patterns
- Cache invalidation strategies
Output: Complete data flow diagrams
Phase 3: Integration Intelligence (6-12 hours)
Objective: Understand connections and dependencies
3.1 Dependency Graph Construction
Skills Used:
- Package dependency analysis
- Import/export mapping
- Service dependency tracking
Actions:
# Build package dependency graph pnpm list --depth=5 --json > dependency-graph.json # Analyze TypeScript imports node scripts/analyze-imports.js # Map service dependencies node scripts/map-service-deps.js
Output: Multi-layer dependency graph
3.2 Cross-System Integration Mapping
Skills Used:
- Map external integrations (n8n, Gemini, etc.)
- Trace authentication flows
- Document API boundaries
Integrations to Map:
- Gemini Browser Automation
- Claude API integration
- n8n workflow engine
- PostgreSQL database
- Redis cache
- Railway deployment
- GitHub integration
Output: Integration topology map
3.3 Skill Interaction Analysis
Skills Used:
- Map all skillscustom-slash-command-agent
- Analyze skill usageskill-stats- Relationship analysis - How skills call each other
Output: Skill interaction graph
Phase 4: Capability Synthesis (12-20 hours)
Objective: Understand WHAT the framework can do
4.1 Capability Extraction
Skills Used:
- Aggregate all agent capabilities
- Compile all skill functions
- Document all service endpoints
Capabilities by Category:
-
Agent Orchestration
- Multi-agent coordination
- Federated compute
- Task distribution
- Result aggregation
-
Browser Automation
- Gemini integration
- Chrome extension injection
- UI automation
- Web scraping
-
Documentation Management
- Living documentation system
- Concept extraction
- Knowledge graph building
- Auto-generation
-
Development Automation
- Code generation
- Testing orchestration
- Build pipeline
- Deployment automation
-
Communication
- WebSocket relay
- Channel management
- Message routing
- Protocol enforcement
Output: Comprehensive capability catalog
4.2 Workflow Pattern Recognition
Skills Used:
- Document workflowsworkflow-create- Pattern extraction from documentation
- Procedural skill matrices
Workflows to Document:
- New session initialization
- Multi-agent task orchestration
- Federated analysis execution
- Continuous deployment
- Agent registration & discovery
- Documentation improvement cycle
Output: Workflow pattern library
4.3 Value Chain Mapping
Skills Used:
- Trace how framework creates value
- Map user journeys
- Document transformation pipelines
Value Chains:
- Problem → Analysis → Solution → Deployment
- Idea → Planning → Execution → Validation
- Data → Processing → Knowledge → Insight
- Question → Research → Answer → Action
Output: Value chain diagrams
Phase 5: Emergence & Evolution (20-40 hours)
Objective: Enable framework self-improvement
5.1 Self-Analysis Capability
Skills Used:
- Run improvement cyclesself-improve- Metrics collection
- Performance analysis
- Gap identification
Self-Analysis Areas:
-
Performance Metrics
- Response times
- Success rates
- Resource utilization
- Scalability limits
-
Quality Metrics
- Documentation completeness
- Test coverage
- Code quality scores
- User satisfaction
-
Growth Metrics
- New capabilities added
- Integration expansion
- User adoption
- Value delivered
Output: Self-awareness dashboard
5.2 Evolutionary Pathways
Skills Used:
- Identify improvement opportunities
- Prioritize enhancements
- Plan evolutionary steps
- Execute improvements
Evolution Strategies:
- Incremental Enhancement: Small continuous improvements
- Capability Addition: New features and integrations
- Pattern Refinement: Better ways to do existing things
- Emergent Synthesis: Novel capabilities from combinations
Output: Evolution roadmap
5.3 Adaptive Learning
Skills Used:
- Learn from usage patterns
- Adapt to new contexts
- Optimize based on feedback
- Generate new solutions
Learning Mechanisms:
- Pattern Recognition: Identify recurring problems/solutions
- Feedback Integration: Incorporate user feedback
- Error Learning: Improve from failures
- Success Amplification: Double down on what works
Output: Learning feedback loops
Phase 6: Reach & Value (Ongoing)
Objective: Maximize framework impact
6.1 Integration Expansion
Skills Used:
- Identify integration opportunities
- Build new connectors
- Federate with external systems
- Expand reach
Integration Targets:
- More AI models (OpenAI, Anthropic, Google)
- More automation platforms (Zapier, IFTTT)
- More development tools (GitHub, GitLab, Linear)
- More communication platforms (Slack, Discord, Teams)
Output: Integration expansion plan
6.2 Value Demonstration
Skills Used:
- Showcase capabilities
- Build demos
- Create tutorials
- Document success stories
Demonstration Vehicles:
- Live demos of federated analysis
- Video walkthroughs of workflows
- Case studies of problems solved
- Metrics dashboards showing impact
Output: Value demonstration portfolio
6.3 Community Building
Skills Used:
- Documentation for humans
- Onboarding workflows
- Support systems
- Knowledge sharing
Community Initiatives:
- Developer documentation
- User guides and tutorials
- API reference
- Example projects
- Community forum/channel
Output: Thriving user community
Execution Protocol
Invocation
Claude Code> /framework-consciousness
Automatic Triggers
This skill should run automatically:
- At session start (context building)
- After major changes (re-analyze)
- Before complex tasks (ensure understanding)
- During improvement cycles (self-awareness)
Incremental Execution
The skill can run incrementally:
- Quick Context (5 min): Phases 1.1-1.3 only
- Deep Dive (2 hours): Phases 1-2
- Full Analysis (6 hours): Phases 1-3
- Complete Understanding (20 hours): Phases 1-4
- Evolutionary Mode (40+ hours): All phases
Checkpointing
After each phase:
- Save current understanding state
- Document insights discovered
- Update framework model
- Validate understanding
- Prepare for next phase
Framework Model
The Living Framework Concept
The framework is modeled as a living organism with:
Anatomy (Structure)
- Skeleton: Core architecture (relay, packages, services)
- Organs: Specialized systems (database, cache, agents)
- Nervous System: Communication protocols (WebSocket, MCP)
- Circulatory System: Data flows and message routing
- Immune System: Error handling, security, validation
Physiology (Function)
- Metabolism: Processing tasks, transforming data
- Respiration: Input/output cycles, API calls
- Reproduction: Code generation, auto-documentation
- Adaptation: Learning from feedback, optimizing
- Homeostasis: Self-healing, load balancing
Consciousness (Awareness)
- Perception: Monitoring, metrics, logging
- Memory: Documentation, history, patterns
- Reasoning: Analysis, planning, decision-making
- Learning: Pattern recognition, improvement
- Creativity: Novel solutions, emergent behaviors
Ecology (Context)
- Environment: Development ecosystem, user needs
- Resources: Compute, storage, APIs, tokens
- Competition: Alternative frameworks, tools
- Symbiosis: Integrated systems, partnerships
- Evolution: Adaptation to changing landscape
Success Metrics
Understanding Depth
- All packages mapped and understood
- All agents cataloged and characterized
- All protocols documented and traced
- All workflows identified and diagrammed
- All capabilities listed and demonstrated
Framework Health
- Self-monitoring active
- Self-healing mechanisms in place
- Performance optimized
- Documentation complete
- Tests comprehensive
Evolutionary Capacity
- Improvement cycles automated
- Learning mechanisms active
- Adaptation strategies defined
- Growth trajectory established
- Value compounding measurable
Value Delivery
- Problems being solved
- Users being served
- Capabilities being demonstrated
- Impact being measured
- Community being built
Integration with Other Skills
This meta-skill orchestrates and coordinates:
Discovery Skills
- Map unknown territoryExplore
- Find agentsagent-discover
- Find capabilitiesskill-search
- Find resourcesresource-search
Analysis Skills
- Trace code pathscodebase-pathway-tracer
- Map relationshipsagent-relationship-grapher
/Grep
- Search patternsGlob- Living Documentation System - Analyze docs
Orchestration Skills
- Coordinate workorchestrator-agent
- Define processesworkflow-create
agent - Delegate tasksTask- Multi-agent federation - Distribute work
Improvement Skills
- Run improvement cyclesself-improve
- Create new capabilitiesskill-mcp-builder
skill generator - Build new skillstnf- Documentation evolution - Enhance docs
Communication Skills
- Relay messaging - Coordinate agents
- Channel management - Organize work
- Status reporting - Track progress
- Value demonstration - Show results
Current State Assessment
Based on work completed in this session:
✅ Completed
-
Documentation Discovery (Stage 1)
- 2,192 files discovered and cataloged
- Complete manifest with metadata
-
Documentation Classification (Stage 2)
- All 2,192 files classified
- Sophisticated rule-based system
- 84% confident classifications
-
Federated Analysis Initiation (Stage 3)
- Tasks delegated to 3 Gemini agents
- 1,017 P1 files being analyzed
- DACC-v1 protocol operational
⏳ In Progress
- Concept Extraction (Stage 3)
- Gemini agents analyzing documents
- Expected: 30-60 minutes
- Output: Concepts, relationships, dependencies
⏸️ Pending
-
Complete Framework Understanding
- Need to execute Phases 1.2-1.3
- Need to run Phases 2-6
- Estimated: 20-40 hours full execution
-
Knowledge Graph Construction (Stage 4)
- Consolidate extracted concepts
- Build unified knowledge graph
- Identify redundancies and gaps
-
Documentation Evolution (Stage 5)
- Auto-generate missing docs
- Enhance incomplete content
- Establish continuous improvement
Invocation Examples
Quick Context Build (5 minutes)
# Get current state snapshot /framework-consciousness --quick # Output: High-level framework map, current capabilities, immediate priorities
Deep Understanding (2 hours)
# Full discovery and pattern recognition /framework-consciousness --deep # Output: Complete structural map, protocol analysis, architectural patterns
Evolutionary Analysis (20+ hours)
# Complete understanding + improvement planning /framework-consciousness --evolve # Output: Full framework model, evolution roadmap, self-improvement cycles
Targeted Analysis
# Analyze specific subsystem /framework-consciousness --focus=relay-system /framework-consciousness --focus=agent-federation /framework-consciousness --focus=documentation-system
Next Actions
To fully activate this skill, execute:
-
Immediate (Next 1 hour):
# Complete Phase 1: Foundation Discovery node scripts/framework-consciousness/01-foundation-discovery.js -
Short-term (Next 6 hours):
# Execute Phases 1-2: Foundation + Patterns node scripts/framework-consciousness/run-phases.js 1 2 -
Medium-term (Next 20 hours):
# Execute Phases 1-4: Complete understanding node scripts/framework-consciousness/run-phases.js 1 4 -
Long-term (Continuous):
# Run all phases in evolutionary mode node scripts/framework-consciousness/evolve.js
The Vision
The New Fuse framework becomes self-aware, self-improving, and self-expanding.
Like a living organism:
- It knows itself completely (comprehensive understanding)
- It heals itself automatically (self-improvement)
- It grows itself continuously (capability expansion)
- It adapts itself intelligently (contextual evolution)
- It reproduces itself through documentation and code generation
- It provides value to its ecosystem
This is not just a framework. This is a living, evolving intelligence that serves, learns, and grows.
Framework Consciousness Skill Version: 1.0.0 Created: 2026-01-17 Status: Active - Ready for Invocation
"To understand the whole, one must understand every part, every connection, every pattern, and how they emerge together into something greater than the sum."