sops-architectural-primitive-between-one-off-and-skill
SOPs — new architectural primitive between one-off tasks and skills
The aj-workspace setup system now has a fourth artifact category: SOPs (Standardized Operating Procedures) at /root/aj-workspace/sops/. SOPs fill the gap between one-off tasks and skills — they orchestrate multi-step operator-driven workflows that chain multiple skills + external tools + human decisions into a single chronologically-ordered, repeatable playbook.
Why SOPs exist (the gap they fill)
Prior taxonomy had three artifacts, none of which could carry a chronologically-ordered multi-skill workflow:
| Artifact | What it captures | What it can’t capture |
|---|---|---|
| Skill | One atomic capability Claude can execute | Chronological orchestration across multiple skills + external tools + operator steps |
| Topic file | Deep reference knowledge on a single concept | Step-by-step execution order; operator-facing prompts |
| Feedback file | A single rule + Why + How to apply | Multi-step workflow with state handoff |
| SOP (new) | Chronologically-ordered playbook chaining skills + external tools + human decisions | — |
The triggering case was the Seedance 2.0 website workflow: it calls seedance-loop-prompt → Kie AI (external) → Seedance 2 (external) → website-creator → frontend-intelligence → gh CLI → hostinger skill. Seven artifacts in strict order with parameter handoff and operator decisions in the middle — no single skill could own it; a topic file couldn’t enforce order; only an SOP fits.
Escalation path (new routing rung)
1 occurrence → just do it, no artifact
2+ operator-driven steps → SOP (composite workflow)
3+ fully-automatable → skill (atomic capability)
SOP with automatable core → extract core to a skill; SOP references it by name
Physical structure
/root/aj-workspace/sops/
├── README.md ← canonical index + conventions + anti-patterns
├── _template.md ← blank SOP starter
└── <sop-name>.md ← individual SOPs with flow overview, prerequisites, steps, prompts library, gotchas, source, "Last hardened" date
Framework cascade (completed 11-Apr-2026)
The SOP primitive is wired into 4 locations so no future session can drift:
- Topic file:
aj-workspace/memory/sops.md— conventions, positioning, SOP-first behavior contract, hardening discipline, Pristine Sweep inclusion - MEMORY.md (aj-workspace) — three edits:
- Skill & Plugin Gate: added SOP-first sibling rule alongside skill-first
- Pruning Principle: extended routing tree (2+ operator-driven → SOP, 3+ automatable → skill)
- Topic Files index: added
sops.mdpointer
- setup-curator SKILL.md — routing decision tree extended: item #8 is now SOPs (multi-step operator-driven workflows), skill promoted to #9 (fully automatable workflows), items 10–12 renumbered
- aj-ea MEMORY.md — cross-workspace pointer added to Standing Directives so EA sessions also consult
/root/aj-workspace/sops/README.mdbefore starting recurring tasks
SOP-first behavior contract
Before starting any task with SOP shape (multi-step, external tools, manual decisions, non-obvious sequence), Claude MUST:
- Check
/root/aj-workspace/sops/README.mdfor a matching SOP (keyword-match on the index or grep the folder) - If found → load it, follow it, use exact skills and prompts it specifies
- If not found but task has SOP shape → draft a new SOP from
_template.mdafter the first successful run - Honor gotchas (compounded hard-won learnings)
- Update the SOP in-place + bump
Last hardenedwhen new gotchas surface
Hardening compounds intelligence
Every successful run hardens the SOP further:
- New gotchas become rows in the Gotchas table
- Prompts tighten based on real-world results
- Run #10 is dramatically better than run #1
- SOPs that develop overlapping steps get refactored (shared steps → new SOP or skill, Law 1: Zero Redundancy)
Why this benefits all agents (cross-division)
DEV agents (dev-architect, builder, auditor) can now draft SOPs for repeatable infra workflows (MCP server deployment, container migration, credential rotation). EA agents can consult the same SOPs system when facing cross-skill workflows. R&D agents discover workflows that could be elevated from SOP to skill based on automation maturity. The primitive is division-agnostic; the physical home is aj-workspace because that’s where skills, infra, and deployment converge.
Related
- 2026-04-04-oracle-001-self-architecture-analysis
- enterprise-capability-expansion-5-pillars-from-digital-employee-analysis
- docker
- salesforce
- clawteam-openclaw-multi-agent-swarm-evaluation
- sop-canonical-location-aj-workspace-sops
- sop-architectural-primitive-fills-taxonomy-gap
- setup-curator-cascade-for-new-memory-category
- sop-as-fourth-memory-artifact-type-in-taxonomy
- sops-canonical-home-aj-workspace-not-aj-ea
- mcp-canonical-list-redundancy-causes-version-drift
- taxonomy-drift-lint-warns-on-framework-specific-terms
- taxonomy-drift-synonym-families-in-fusion-skills