From productionos
ProductionOS instinct-based learning system. Observes sessions via hooks, extracts patterns, creates atomic instincts with confidence scoring, and auto-promotes high-confidence patterns across projects.
npx claudepluginhub shaheerkhawaja/productionos --plugin productionosThis skill uses the workspace's default tool permissions.
```
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Guides agent creation for Claude Code plugins with file templates, frontmatter specs (name, description, model), triggering examples, system prompts, and best practices.
SESSION ACTIVITY (via PostToolUse hooks)
↓
Observation Log (~/.productionos/analytics/skill-usage.jsonl)
↓
Pattern Extractor (runs at session end via Stop hook)
↓
Instinct Creation (~/.productionos/instincts/project/{hash}/)
↓
Confidence Scoring (0.0 - 1.0, based on repetition + outcome)
↓
Auto-Promotion (confidence > 0.8 → global instinct)
↓
Global Instincts (~/.productionos/instincts/global/)
Each instinct is a single markdown file:
---
name: {pattern-name}
confidence: 0.65
observations: 3
first_seen: 2026-03-20
last_seen: 2026-03-20
scope: project
promoted_from: null
---
## Pattern
{What was observed}
## Evidence
- Session {date}: {observation 1}
- Session {date}: {observation 2}
## Application
{When to apply this pattern in future sessions}
| Confidence | Meaning | Action |
|---|---|---|
| 0.0 - 0.3 | Weak signal | Store but don't act |
| 0.3 - 0.6 | Emerging pattern | Suggest when relevant |
| 0.6 - 0.8 | Strong pattern | Apply proactively |
| 0.8 - 1.0 | Proven pattern | Auto-promote to global |
At session end, the Stop hook:
~/.productionos/analytics/skill-usage.jsonl for this sessionpos-instincts list — Show all instincts with confidencepos-instincts promote {name} — Manually promote to globalpos-instincts demote {name} — Reduce confidencepos-instincts forget {name} — Delete an instinct