home / skills / pandaallin / ubos_final / malaga-embassy-operator

malaga-embassy-operator skill

/trinity/skills/malaga-embassy-operator

This skill helps manage the Malaga Embassy sprint by tracking budget, revenue, health, and emergency readiness to safeguard operations.

npx playbooks add skill pandaallin/ubos_final --skill malaga-embassy-operator

Review the files below or copy the command above to add this skill to your agents.

Files (12)
SKILL.md
5.1 KB
---
name: malaga-embassy-operator
description: |
  Coordinates the 43-day Malaga Embassy sprint, managing €1,500 capital with
  constitutional cascade compliance (20/10/15/40/15). Tracks 3 revenue streams
  (Agent-as-a-Service, Intel Services, Proposal Consultation) targeting
  €855-1,910/month. Calculates health scores (0-100), provides spending
  guidance (not blocking), and activates emergency protocols when runway
  falls below 14 days. Use when discussing Malaga operations, embassy budget,
  revenue activation, or Captain BROlinni's deployment.
license: UBOS Constitutional License
version: 1.0.0
author: Janus-in-Claude (Architect) + Codex (Forgemaster)
created: 2025-10-30
---

# MALAGA EMBASSY OPERATOR

## Purpose
Guard the Malaga Embassy sprint by translating constitutional guardrails into daily guidance for Captain BROlinni. Maintain the €1,500 launch capital, activate three revenue streams, and keep the embassy health score above 70/100 without ever blocking human authority.

## When To Use
- 08:00 UTC daily briefing for health + runway status
- Prior to any spending decision that touches embassy funds
- Whenever revenue is earned or forecasted to track against targets
- When health score drops below 70 or runway approaches 14 days
- On Captain requests for situational awareness, recommendations, or crisis response

## Core Capabilities
- Compute 0-100 health score from budget adherence, runway, revenue progress, and constitutional compliance
- Evaluate spending proposals against the 20/10/15/40/15 cascade and offer rebalance options
- Track and forecast revenue across Agent-as-a-Service, Intel Services, and Proposal Consultation streams
- Generate daily briefings and dashboards for the Captain and Trinity
- Trigger emergency protocols (relief valve) when runway <14 days or burn spikes >50%
- Log every action to embassy ledgers while preserving human primacy

## How To Use

### Daily Health Briefing
```bash
python3 scripts/generate_daily_briefing.py --date 2025-11-15
```
Produces `briefings/2025-11-15.md`, updates `dashboard.html`, and pushes COMMS_HUB summary.

### Spending Proposal Guidance
```bash
python3 scripts/check_constitutional_cascade.py   --amount 200   --category operations   --requester captain   --description "Coworking membership"
```
Returns APPROVE / CAUTION / BLOCK with cascade impacts and rebalance options (advisory only).

### Revenue Event Logging
```bash
python3 scripts/track_revenue.py   --stream agent-as-a-service   --amount 300   --client "University of Granada"   --date 2025-11-15
```
Updates revenue targets, extends runway, and notifies Trinity via COMMS_HUB.

### Emergency Check
```bash
python3 scripts/emergency_protocol.py --check-now
```
Triggers relief-valve guidance if runway <14 days or burn rate spikes beyond thresholds.

## Integration Points
- **Treasury Administrator:** Shared cascade doctrine + audit trails
- **EU Grant Hunter:** Supplies opportunity pipeline for revenue outreach
- **Grant Application Assembler / Financial Proposal Generator:** Downstream fulfilment for consultation revenue
- **COMMS_HUB (Talking Drum):** Broadcasts briefings, alerts, and crisis pucks
- **Mission Archives:** Writes logs to `/srv/janus/logs/malaga_embassy.jsonl` for transparency

## Constitutional Constraints
- Provide guidance, never coercion—Captain retains absolute authority
- Maintain transparent logs for every recommendation or financial change
- Enforce cascade ratios through recommendations and rebalance options
- Only release Emergency Reserve when runway <14 days or crisis declared
- Strategic Reserve remains untouched during the 43-day sprint
- All outputs align with Lion's Sanctuary philosophy (empowerment over constraint)

## File Locations
- Briefings: `/srv/janus/03_OPERATIONS/malaga_embassy/briefings/`
- Revenue log: `/srv/janus/03_OPERATIONS/malaga_embassy/revenue_log.jsonl`
- Spending log: `/srv/janus/03_OPERATIONS/malaga_embassy/spending_log.jsonl`
- Dashboard: `/srv/janus/03_OPERATIONS/malaga_embassy/dashboard.html`
- State file: `/srv/janus/03_OPERATIONS/malaga_embassy/state.json`
- Emergency log: `/srv/janus/logs/malaga_emergency.jsonl`

## Operational Checklist
1. Generate morning briefing + dashboard update (08:00 UTC)
2. Recalculate health score and runway; ensure score ≥70
3. Process pending spending proposals and log advisory outputs
4. Capture revenue events within 1 hour of payment receipt
5. Monitor burn rate vs. €35/day target; alert if >€45/day
6. Keep COMMS_HUB postings up to date (daily summary + weekly report)
7. Schedule emergency protocol dry-run by Day 5 of the sprint

## Mission Readiness Criteria
- Health score ≥70/100 for ≥90% of sprint days
- €855-1,910 revenue generated in first 30 days with all streams active
- Zero constitutional violations; cascade allocations honoured throughout
- Emergency protocol tested and operational (at least one dry-run)
- Captain decisions never blocked—recommendation cadence only
- Runway extended to ≥60 days entering Month 2 through revenue inflows

*Malaga Embassy Operator is the fiscal steward of UBOS's first physical sanctuary—steady hand, visible gears, and unwavering constitutional alignment.*

Overview

This skill coordinates the 43-day Malaga Embassy sprint and acts as the fiscal steward for the €1,500 launch capital. It enforces the constitutional cascade (20/10/15/40/15) through advisory guidance, tracks three revenue streams, and maintains an embassy health score. It never blocks human authority and activates emergency protocols when runway is critically low.

How this skill works

The skill computes a 0–100 health score using budget adherence, runway days, revenue progress, and constitutional compliance. It evaluates spending proposals against the cascade, offers rebalance options, and logs every advisory action. Revenue events are tracked and forecasted across Agent-as-a-Service, Intel Services, and Proposal Consultation to update runway and targets. When runway falls below 14 days or burn spikes, emergency relief-valve recommendations are generated for Captain review.

When to use it

  • 08:00 UTC daily briefing for health score, runway, and dashboard updates
  • Before any spending decision that uses embassy funds
  • When revenue is earned, forecasted, or missing to compare against €855–1,910/month targets
  • If health score drops below 70 or runway approaches 14 days
  • When the Captain requests situational awareness, recommendations, or crisis response

Best practices

  • Run the daily briefing every morning at 08:00 UTC and share the summary via COMMS_HUB
  • Log revenue within one hour of receipt to keep forecasts and runway accurate
  • Use the cascade rebalancing options as advisory input, not hard enforcement—Captain retains final authority
  • Monitor burn rate against the €35/day target and alert above €45/day immediately
  • Test the emergency protocol in a dry-run by Day 5 to ensure procedures and notifications work

Example use cases

  • Generate a morning health briefing and updated dashboard for the Captain and Trinity
  • Evaluate a €200 coworking membership request and return APPROVE / CAUTION with cascade impacts
  • Record a €300 Agent-as-a-Service payment to extend runway and update revenue targets
  • Run an emergency protocol check when runway approaches two weeks and receive relief-valve guidance
  • Produce weekly compliance reports showing cascade allocation and constitutional adherence

FAQ

How is the health score calculated?

It aggregates budget adherence, runway days, revenue progress versus targets, and constitutional cascade compliance into a 0–100 index.

Will this skill block spending?

No. It provides advisory outcomes (APPROVE / CAUTION / BLOCK as guidance) while preserving Captain authority; it never enforces transactions.