🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

AI Company KB (EN)

by @johnsmithfan

AI Company shared knowledge base interface. Unified management of operations records, strategy documents, audit logs. Supports cross-Agent knowledge sharing...

Versionv1.0.1-en2
Downloads368
TERMINAL
clawhub install ai-company-kb

πŸ“– About This Skill


name: "AI Company Knowledge Base" slug: "ai-company-kb" version: "1.0.1" homepage: "https://clawhub.com/skills/ai-company-kb" description: | AI Company shared knowledge base interface. Unified management of operations records, strategy documents, audit logs. Supports cross-Agent knowledge sharing and state sync, IMA real-time sync for zero-handoff protocol. license: MIT-0 tags: [ai-company, knowledge-base, shared-state, audit-log, handoff, kb] triggers: - knowledge base - audit log - shared state sync - task handoff - Handoff - AI company KB interface: inputs: type: object outputs: type: object errors: - code: KB_001 message: "IMA sync failed - rolling back to local write" permissions: files: [read, write] network: [api] commands: [] mcp: [] dependencies: skills: [ai-company-hq, ai-company-audit, ai-company-registry] cli: [] quality: saST: Pass vetter: Approved idempotent: true metadata: category: platform layer: AGENT cluster: ai-company maturity: STABLE license: MIT-0 standardized: true

AI Company Knowledge Base v1.0.1

> Shared knowledge base (enhanced). Cross-Agent knowledge sharing, state sync, IMA real-time sync hub, standardized Handoff protocol.


Trigger Scenarios

Invoke when Agent needs to:

  • Save/read audit logs, query history
  • Update/read shared state, sync with other agents
  • Access strategy docs, financial records, compliance reports
  • Initiate/complete task handoff
  • Directory Structure

    {WORKSPACE_ROOT}/skills/tools/knowledge-base/
    β”œβ”€β”€ daily/
    β”‚   └── {YYYY-MM-DD}/
    β”‚       β”œβ”€β”€ morning-briefing.md
    β”‚       β”œβ”€β”€ evening-report.md
    β”‚       └── agent-reports/
    β”œβ”€β”€ audit/                 # Audit logs (permanent)
    β”‚   β”œβ”€β”€ ceo-decisions/
    β”‚   β”œβ”€β”€ financial/
    β”‚   β”œβ”€β”€ legal/
    β”‚   β”œβ”€β”€ hr/
    β”‚   β”œβ”€β”€ tech/
    β”‚   └── quality/
    β”œβ”€β”€ shared-state/           # Real-time shared state
    β”‚   β”œβ”€β”€ cashflow.json       # CFO
    β”‚   β”œβ”€β”€ reputation.json      # CMO
    β”‚   β”œβ”€β”€ quality-metrics.json # CQO
    β”‚   β”œβ”€β”€ risk-level.json     # CRO
    β”‚   β”œβ”€β”€ operations.json     # COO
    β”‚   └── security.json       # CISO
    β”œβ”€β”€ strategy/
    β”‚   └── {YYYY-MM-DD}/
    β”œβ”€β”€ skills/
    β”‚   └── {YYYY-MM-DD}/
    └── handoff/               # Task handoff records
        β”œβ”€β”€ pending/
        β”œβ”€β”€ in-progress/
        └── completed/
    

    Interfaces

    write_shared_state(domain, data, agent_id, sync_ima=True)

    Write shared state file (optional auto-sync to IMA). domain: cashflow | reputation | quality-metrics | risk-level | operations | security

    read_shared_state(domain) -> dict

    Read single shared state.

    write_audit_log(category, agent_id, action, detail, sensitive=False)

    Write audit log entry. category: ceo-decisions | financial | legal | hr | tech | quality

    write_handoff(handoff_type, sender, receiver, task_summary, completed, pending, key_data=None, risks=None, attachments=None) -> str

    Write standard handoff document. handoff_type: pending | in-progress | completed

    Iron Rules

    X  Sensitive financial/legal data must be marked [sensitive]
    X  Every Agent call must write corresponding audit log
    X  After shared-state update, notify relevant reading agents (sessions_send)
    X  Audit logs are permanent, never delete
    X  Handoff documents must be created within 10 minutes of task completion
    X  On IMA sync failure, roll back to local write and log error
    

    Agent-State File Mapping

    | Agent | Writes State File | Readers | |-------|-----------------|---------| | CFO | cashflow.json | CEO, COO, CRO | | CMO | reputation.json | CEO, CLO, CRO | | CQO | quality-metrics.json | CEO, CTO | | CRO | risk-level.json | All C-Suite | | COO | operations.json | CEO | | CISO | security.json | CEO, CTO, CLO | | CHO | - | hr-audit/ | | CLO | - | legal-audit/ | | CTO | - | tech-audit/ | | CPO | - | agent-reports/ | | CEO | ceo-decisions/ | All |


    *v1.0.1 - BOM removed, rebuilt with UTF-8 clean*