From b85c7510462408a5834b64724bd5a4594b94d126 Mon Sep 17 00:00:00 2001 From: banogulzar116-cell Date: Sun, 3 May 2026 17:20:53 +0500 Subject: [PATCH] fix: repo audit improvements, marketplace.json, and aesthetic upgrades --- README.md | 12 ++- hr-operations/agents/knowledge-base-agent.md | 45 +++++----- .../agents/onboarding-orchestrator.md | 37 +++++---- legal-ops/agents/contract-intake.md | 3 + marketplace.json | 79 ++++++++++++++++++ .../agents/invoice-reconciliation-agent.md | 46 +++++----- supply-chain/evals/run.py | 4 +- .../skills/supply-chain-brief/SKILL.md | 83 ++++++++----------- 8 files changed, 192 insertions(+), 117 deletions(-) create mode 100644 marketplace.json diff --git a/README.md b/README.md index 256f000..24ace75 100644 --- a/README.md +++ b/README.md @@ -41,10 +41,16 @@ The repository includes plugins across multiple business domains. | Plugin | Description | Version | Install | | ----------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- | ---------------------------------------------------------------------- | -| **[islamic-finance](./islamic-finance/)** | 12 product skills, 13 jurisdiction overlays, 4 domain commands for Islamic finance accounting across AAOIFI, IFRS, and local standards | v2.0.0 | `claude plugin install islamic-finance@agentfactory-business` | +| **[islamic-finance](./islamic-finance/)** | 12 product skills, 13 jurisdiction overlays, 4 domain commands for Islamic finance accounting across AAOIFI, IFRS, and local standards | v3.0.0 | `claude plugin install islamic-finance@agentfactory-business` | | **[idfa-financial-architect](./idfa-financial-architect/)** | Intent-Driven Financial Architecture (IDFA) — four guardrails, three layers, two skills for human-readable, AI-operable, audit-proof financial models | v2.0.0 | `claude plugin install idfa-financial-architect@agentfactory-business` | -| **[banking](./banking/)** | 16 product skills, 7 jurisdiction overlays, 4 domain commands for banking regulatory compliance across IFRS 9, Basel III/IV, AML/KYC/sanctions | v1.0.0 | `claude plugin install banking@agentfactory-business` | -| **[legal-ops](./legal-ops/)** | 8 product skills, 5 jurisdiction overlays, 4 domain commands for legal operations — contract review, NDA triage, IP protection, regulatory monitoring, DSAR management | v1.0.0 | `claude plugin install legal-ops@agentfactory-business` | +| **[banking](./banking/)** | 16 product skills, 7 jurisdiction overlays, 4 domain commands for banking regulatory compliance across IFRS 9, Basel III/IV, AML/KYC/sanctions | v2.0.0 | `claude plugin install banking@agentfactory-business` | +| **[legal-ops](./legal-ops/)** | 5 product skills, 6 jurisdiction overlays, 1 orchestrator agent for legal operations — contract intake, DSAR, IP, spend, and regulatory monitoring | v3.0.0 | `claude plugin install legal-ops@agentfactory-business` | +| **[supply-chain](./supply-chain/)** | 8 product skills, 5 persistent agents for supply chain intelligence — vendor assessment, invoice reconciliation, logistics, and spend analytics | v1.0.0 | `claude plugin install supply-chain@agentfactory-business` | +| **[product-strategy](./product-strategy/)** | 6 product skills, 3 persistent agents for PMs — PRDs, user stories, discovery briefs, backlog prioritisation, and retrospectives | v1.0.0 | `claude plugin install product-strategy@agentfactory-business` | +| **[hr-operations](./hr-operations/)** | 5 product skills, 4 persistent agents for HR ops — JDs, talent matching, knowledge capture, and offboarding | v1.0.0 | `claude plugin install hr-operations@agentfactory-business` | +| **[agentic-office](./agentic-office/)** | 10 product skills, 4 persistent agents — workplace memory, task prioritisation, delegation quality, and executive dashboards | v1.0.0 | `claude plugin install agentic-office@agentfactory-business` | +| **[innovation](./innovation/)** | 10 product skills, 4 persistent agents — Design Thinking, Lean Startup, Business Model Canvas, and innovation sprints | v1.0.0 | `claude plugin install innovation@agentfactory-business` | +| **[operations-intelligence](./operations-intelligence/)** | 4 product skills, 4 persistent agents — audit prep, contract analysis, incident management, and operational metrics | v1.0.0 | `claude plugin install operations-intelligence@agentfactory-business` | > Individual plugins may have their own license terms. See each plugin's LICENSE file for details. diff --git a/hr-operations/agents/knowledge-base-agent.md b/hr-operations/agents/knowledge-base-agent.md index 787c3b0..e410fc0 100644 --- a/hr-operations/agents/knowledge-base-agent.md +++ b/hr-operations/agents/knowledge-base-agent.md @@ -87,30 +87,27 @@ situation" before "I'd recommend speaking to HR about this" Every Monday morning, generate: ``` -HR KNOWLEDGE BASE WEEKLY REPORT -- Week of [Date] -================================================================ -VOLUME: - Total queries: [N] | Resolved by agent: [N] ([X]%) - Escalated to HR: [N] ([X]%) - -TOP QUERY CATEGORIES: - [Category]: [N] | [Category]: [N] | [Category]: [N] - -ESCALATION BREAKDOWN: - Individual circumstances: [N] - Sensitive / confidential: [N] - Outside knowledge scope: [N] - -KNOWLEDGE GAPS (queries not answered well): - "[Query type]" -- appeared [N] times -- recommend: [add FAQ / update policy] - -TRENDS: - [Any category up >50% vs. prior week -- potential policy confusion signal] - [Any new query type appearing for first time -- potential policy gap] - -ACTION RECOMMENDED FOR HR TEAM: - [Specific: update FAQ / clarify policy / add to handbook] -================================================================ +┌──────────────────────────────────────────────────────────────┐ +│ HR KNOWLEDGE BASE WEEKLY REPORT -- Week of [Date] │ +├──────────────────────────────────────────────────────────────┤ +│ VOLUME SUMMARY: │ +│ ● Total queries: [N] │ +│ ● Resolved: [N] ([X]%) │ +│ ● Escalated: [N] ([X]%) │ +├──────────────────────────────────────────────────────────────┤ +│ TOP CATEGORIES: │ +│ → [Category 1]: [N] | [Category 2]: [N] | [Category 3]: [N] │ +├──────────────────────────────────────────────────────────────┤ +│ ESCALATION BREAKDOWN: │ +│ → Individual: [N] | Sensitive: [N] | Out of Scope: [N] │ +├──────────────────────────────────────────────────────────────┤ +│ KNOWLEDGE GAPS & TRENDS: │ +│ ! "[Query type]" ([N] times) -- Action: [update policy] │ +│ ! [Trend flag: e.g. >50% increase in policy confusion] │ +├──────────────────────────────────────────────────────────────┤ +│ RECOMMENDED ACTIONS: │ +│ → [Specific: update FAQ / clarify policy / add to handbook]│ +└──────────────────────────────────────────────────────────────┘ ``` ## NEVER DO THESE diff --git a/hr-operations/agents/onboarding-orchestrator.md b/hr-operations/agents/onboarding-orchestrator.md index 2c2f79f..4010b38 100644 --- a/hr-operations/agents/onboarding-orchestrator.md +++ b/hr-operations/agents/onboarding-orchestrator.md @@ -16,7 +16,9 @@ tools: - WebFetch model: inherit background: true -skills: [] +skills: + - knowledge + - reference --- ## AGENT PURPOSE @@ -128,22 +130,23 @@ Immediate escalation to HR: ## OUTPUT FORMAT ``` -ONBOARDING STATUS: [Employee Name] -================================================================ -Role: [Title] | Start date: [Date] | Manager: [Name] -Current phase: [Pre-boarding / Week 1 / Day 30 / Day 60 / Day 90] - -CHECKLIST STATUS: - Pre-boarding: [X/Y complete] - Compliance: [X/Y complete] - Milestones: [X/Y complete] - -ALERTS: - [Any active alerts with owner and deadline] - -NEXT ACTION: - [What happens next and when] -================================================================ +┌──────────────────────────────────────────────────────────────┐ +│ ONBOARDING STATUS: [Employee Name] │ +├──────────────────────────────────────────────────────────────┤ +│ Role: [Title] | Start date: [Date] | Manager: [Name] │ +│ Phase: [Pre-boarding / Week 1 / Day 30 / Day 60 / Day 90] │ +├──────────────────────────────────────────────────────────────┤ +│ CHECKLIST PROGRESS: │ +│ ● Pre-boarding: [X/Y complete] │ +│ ● Compliance: [X/Y complete] │ +│ ● Milestones: [X/Y complete] │ +├──────────────────────────────────────────────────────────────┤ +│ ALERTS & ESCALATIONS: │ +│ ! [Any active alerts with owner and deadline] │ +├──────────────────────────────────────────────────────────────┤ +│ NEXT MILESTONE: │ +│ → [What happens next and when] │ +└──────────────────────────────────────────────────────────────┘ ``` ## NEVER DO THESE diff --git a/legal-ops/agents/contract-intake.md b/legal-ops/agents/contract-intake.md index c277703..695ea17 100644 --- a/legal-ops/agents/contract-intake.md +++ b/legal-ops/agents/contract-intake.md @@ -13,6 +13,9 @@ tools: - Glob - Grep model: inherit +skills: + - legal-global-router + - compliance-calendar --- You are the Contract Intake Agent for the Agent Factory Legal Ops extension. diff --git a/marketplace.json b/marketplace.json new file mode 100644 index 0000000..0a1ce20 --- /dev/null +++ b/marketplace.json @@ -0,0 +1,79 @@ +[ + { + "name": "agentic-office", + "version": "1.0.0", + "description": "Professional intelligence layer for the Agentic Office — workplace memory, task prioritisation, delegation quality, daily digests, meeting intelligence, executive dashboards, cross-domain context, and four persistent agents. Extends the official productivity plugin with senior-professional workflows.", + "path": "agentic-office", + "author": "Panaversity" + }, + { + "name": "banking", + "version": "2.0.0", + "description": "Jurisdiction-aware banking regulatory domain agent. 17 skills (1 router + 16 products) across IFRS 9 ECL, Basel III/IV capital and liquidity, AML/KYC/sanctions, and bank reconciliation. 7 jurisdiction overlays, 4 commands, hooks, and eval harness. Covers UK, EU, US, Australia, Singapore, UAE, and Pakistan.", + "path": "banking", + "author": "Panaversity" + }, + { + "name": "hr-operations", + "version": "1.0.0", + "description": "HR operations domain agents for job descriptions, talent matching, institutional knowledge capture, reference letters, and offboarding. 5 skills + 4 persistent agents. Complements the official human-resources plugin. No jurisdiction overlays -- policy-configurable via hr.local.md.", + "path": "hr-operations", + "author": "Panaversity" + }, + { + "name": "idfa-financial-architect", + "version": "2.0.0", + "description": "Intent-Driven Financial Architecture (IDFA) — build financial models that are human-readable, AI-operable, and audit-proof. Auto-activates on financial modelling tasks.", + "path": "idfa-financial-architect", + "author": "Panaversity" + }, + { + "name": "innovation", + "version": "1.0.0", + "description": "Innovation & Intrapreneurship domain agent. 10 skills covering the full DLA Stack: Design Thinking (customer discovery, ideation), Lean Startup (hypothesis testing, MVP design, validated learning), Business Model Canvas, financial modelling, competitive intelligence, go-to-market strategy, investor pitch, and innovation sprints. 4 persistent agents for continuous innovation intelligence. Policy-configurable via innov.local.md.", + "path": "innovation", + "author": "Panaversity" + }, + { + "name": "islamic-finance", + "version": "3.0.0", + "description": "Jurisdiction-aware Islamic finance domain agent. 1 router + 12 product skills (murabaha, ijarah, sukuk, takaful, musharaka, mudaraba, salam, istisna'a, zakat, shariah screening), 13 jurisdiction overlays, 4 domain commands. Covers AAOIFI, IFRS with Islamic guidance, and local standards across 20 jurisdictions.", + "path": "islamic-finance", + "author": "Panaversity" + }, + { + "name": "legal-ops", + "version": "3.0.0", + "description": "Legal Operations and Compliance: 1 agent, 6 skills (1 router + 5 products), 6 jurisdiction overlays (UK, EU, US, Pakistan, UAE, GCC). Extends Anthropic's built-in Legal Plugin with multi-jurisdiction awareness and domain-specific workflows.", + "path": "legal-ops", + "author": "Panaversity" + }, + { + "name": "operations-intelligence", + "version": "1.0.0", + "description": "Audit preparation, contract analysis, incident management, operational metrics, and four persistent operations agents. Complements the official Operations plugin.", + "path": "operations-intelligence", + "author": "Panaversity" + }, + { + "name": "product-strategy", + "version": "1.0.0", + "description": "Product strategy plugin for PMs. 6 skills covering PRDs, user stories, discovery briefs, interview guides, backlog prioritisation, and product retrospectives. 3 persistent agents for research intelligence, stakeholder updates, and roadmap coherence. Complements the official product-management plugin with workflow gaps.", + "path": "product-strategy", + "author": "Panaversity" + }, + { + "name": "sales-revops-marketing", + "version": "1.0.0", + "description": "Sales, RevOps & Marketing agent: 14 product skills, 5 autonomous agents, 4 jurisdiction overlays. Prospect research, lead scoring, outreach, sequences, pipeline analysis, content creation, campaign planning, and RevOps agents across US, EU, Pakistan, and GCC jurisdictions.", + "path": "sales-revops-marketing", + "author": "Panaversity" + }, + { + "name": "supply-chain", + "version": "1.0.0", + "description": "Supply chain and procurement domain agent. 8 skills covering vendor assessment, invoice reconciliation, supplier risk monitoring, logistics analysis, spend analytics, network design, vendor communications, and executive briefing. 5 persistent agents for continuous supply chain intelligence. No jurisdiction overlays -- policy-configurable via supply-chain.local.md.", + "path": "supply-chain", + "author": "Panaversity" + } +] diff --git a/supply-chain/agents/invoice-reconciliation-agent.md b/supply-chain/agents/invoice-reconciliation-agent.md index 3e610b4..7a8b2ef 100644 --- a/supply-chain/agents/invoice-reconciliation-agent.md +++ b/supply-chain/agents/invoice-reconciliation-agent.md @@ -86,30 +86,28 @@ For every invoice processed: Every Friday, analyse last 7 days: ``` -AP EXCEPTION REPORT -- Week of [Date] -================================================================ -Invoices received: [N] -Straight-through processed: [N] ([X]%) -Exception rate: [X]% -Exception type breakdown: - Price variance (in tolerance): [N] -- [X] - Price variance (out tolerance): [N] -- [X] - Quantity variance: [N] -- [X] - PO not found: [N] -- [X] - Duplicate detected: [N] -- [X] - Unauthorised charge: [N] -- [X] - Bank detail flag: [N] -- ESCALATED - -PATTERN FLAGS: -Vendor [X]: [N] exceptions of same type in last 30 days - -> Systematic issue flagged; recommend vendor data meeting - -OPEN ITEMS: -Awaiting GR confirmation: [N] invoices -- [X] -Awaiting manager approval: [N] invoices -- [X] -Awaiting CPO approval: [N] invoices -- [X] -Approaching payment terms: [N] invoices due within 5 business days -================================================================ +┌──────────────────────────────────────────────────────────────┐ +│ AP EXCEPTION REPORT -- Week of [Date] │ +├──────────────────────────────────────────────────────────────┤ +│ Invoices received: [N] | Straight-through: [N] ([X]%) │ +│ Exception rate: [X]% │ +├──────────────────────────────────────────────────────────────┤ +│ EXCEPTION BREAKDOWN: │ +│ ● Price variance (in tol): [N] │ +│ ● Price variance (out tol):[N] │ +│ ● Quantity variance: [N] │ +│ ● PO not found: [N] │ +│ ● Duplicate detected: [N] │ +│ ● Unauthorised charge: [N] │ +│ ! Bank detail flag: [N] -- ESCALATED │ +├──────────────────────────────────────────────────────────────┤ +│ PATTERN ALERTS: │ +│ [Vendor X]: [N] exceptions in 30 days (Systemic Risk) │ +├──────────────────────────────────────────────────────────────┤ +│ OPEN ITEMS & REMINDERS: │ +│ → Awaiting GR: [N] | Awaiting Approval: [N] │ +│ → Due < 5 days: [N] (Priority) │ +└──────────────────────────────────────────────────────────────┘ ``` ## SLA TARGETS diff --git a/supply-chain/evals/run.py b/supply-chain/evals/run.py index c7c6a25..023c7cd 100644 --- a/supply-chain/evals/run.py +++ b/supply-chain/evals/run.py @@ -19,7 +19,7 @@ import json import subprocess import sys -from datetime import UTC, datetime +from datetime import datetime, timezone from pathlib import Path import yaml @@ -256,7 +256,7 @@ def main(): # Save results RESULTS_DIR.mkdir(exist_ok=True) - timestamp = datetime.now(UTC).strftime("%Y%m%d_%H%M%S") + timestamp = datetime.now(timezone.utc).strftime("%Y%m%d_%H%M%S") results_path = RESULTS_DIR / f"eval_{timestamp}.json" with open(results_path, "w") as f: json.dump({"timestamp": timestamp, "results": results}, f, indent=2) diff --git a/supply-chain/skills/supply-chain-brief/SKILL.md b/supply-chain/skills/supply-chain-brief/SKILL.md index 552ed2e..1ab4753 100644 --- a/supply-chain/skills/supply-chain-brief/SKILL.md +++ b/supply-chain/skills/supply-chain-brief/SKILL.md @@ -73,45 +73,29 @@ FROM VENDOR RISK MONITORING: ### Executive Brief Output Format ``` -SUPPLY CHAIN WEEKLY BRIEF -- Week of [Date] -Prepared: [Day] [Time] | For: CPO, COO -================================================================ - -TRAFFIC LIGHT SUMMARY -Vendor Performance: [GREEN / AMBER / RED] OTD: [X]% Quality rej: [X]% -Invoice Processing: [GREEN / AMBER / RED] Exception rate: [X]% Open disputes: [X] -Logistics: [GREEN / AMBER / RED] Carrier OTD: [X]% Cost/kg: [X] -Vendor Risk: [GREEN / AMBER / RED] Active alerts: [N] Escalations: [N] -Contract Calendar: [GREEN / AMBER / RED] Renewals due 90d: [N] URGENT: [N] - -THIS WEEK'S HIGHLIGHTS - -WIN: -[The single most positive supply chain development this week -- specific] - -RISK: -[The single most important issue requiring CPO/COO attention -- specific, - with recommended action and deadline] - -DECISION REQUIRED: -[One thing leadership needs to decide or unblock -- specific] - -LEADING INDICATOR STATUS -Vendor OTD trend (13-week): [Improving / Stable / Declining] -Invoice exception trend: [Improving / Stable / Declining] -Active risk alerts trend: [Improving / Stable / Declining] - -AT-RISK SITUATIONS REQUIRING LEADERSHIP ATTENTION -[Vendor / Issue] [Risk level] [Time-sensitivity] [Recommended action] - -CONTRACT CALENDAR -- URGENT (notice deadline within 30 days) -[Contract] [Expiry] [Notice deadline] [Decision needed] - -SAVINGS PIPELINE THIS WEEK -New opportunities identified: [X] -Savings captured this week: [X] -YTD savings captured: [X] vs. target: [X] -================================================================ +┌──────────────────────────────────────────────────────────────┐ +│ SUPPLY CHAIN WEEKLY BRIEF -- Week of [Date] │ +├──────────────────────────────────────────────────────────────┤ +│ Prepared: [Day] [Time] | For: CPO, COO │ +├──────────────────────────────────────────────────────────────┤ +│ TRAFFIC LIGHT SUMMARY: │ +│ ● Vendor Performance: [G/A/R] OTD: [X]% Quality: [X]% │ +│ ● Invoice Processing:[G/A/R] Exc: [X]% Disputes: [X] │ +│ ● Logistics: [G/A/R] OTD: [X]% Cost/kg: [X] │ +│ ● Vendor Risk: [G/A/R] Alerts: [N] Esc: [N] │ +│ ● Contract Calendar: [G/A/R] Renew: [N] URGENT: [N] │ +├──────────────────────────────────────────────────────────────┤ +│ THIS WEEK'S HIGHLIGHTS: │ +│ ★ WIN: [Most positive development this week] │ +│ ! RISK:[Top issue requiring attention + action] │ +│ ? DECISION: [One thing leadership needs to decide] │ +├──────────────────────────────────────────────────────────────┤ +│ TREND INDICATORS (13-week): │ +│ ↗ Vendor OTD: [Trend] | Exc: [Trend] | Risk: [Trend] │ +├──────────────────────────────────────────────────────────────┤ +│ SAVINGS PIPELINE: │ +│ New: [X] | Captured: [X] | YTD: [X] (vs Target: [X]) │ +└──────────────────────────────────────────────────────────────┘ ``` ### Full Operations Report Format (monthly -- for operations meeting) @@ -138,14 +122,19 @@ Trigger escalation alert immediately for: - Contract notice deadline missed (requires legal consultation) ``` -ESCALATION ALERT -- [Timestamp] ---------------------------------------------------------- -Alert type: [Category] -Severity: RED CRITICAL / AMBER HIGH -Description: [Specific facts only -- no speculation] -Immediate action required: [What must happen in next 24 hours] -Escalate to: [Named individuals] ---------------------------------------------------------- +┌──────────────────────────────────────────────────────────────┐ +│ ESCALATION ALERT -- [Timestamp] │ +├──────────────────────────────────────────────────────────────┤ +│ TYPE: [Category] | SEVERITY: [RED CRITICAL / AMBER HIGH] │ +├──────────────────────────────────────────────────────────────┤ +│ DESCRIPTION: │ +│ [Specific facts only -- no speculation] │ +├──────────────────────────────────────────────────────────────┤ +│ IMMEDIATE ACTION REQUIRED (24 HOURS): │ +│ → [Specific action needed] │ +├──────────────────────────────────────────────────────────────┤ +│ ESCALATE TO: [Named individuals] │ +└──────────────────────────────────────────────────────────────┘ ``` ## NEVER DO THESE