forcedotcom/sf-skills / plugins/builder/service-omni/skills/service-omni-agent-work-sharing-configure
service-omni-agent-work-sharing-configure
VerifiedUse to configure or verify org-wide AgentWork visibility for supervisors after explicit confirmation. Triggers: let supervisors read AgentWork, configure AgentWork sharing, verify AgentWork OWD, make AgentWork visible to supervisors, change AgentWork internal access. Do not use to filter which reps appear in Command Center; use service-omni-supervisor-config-deploy for that.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 3.9 KB |
| references/api-notes.md | markdown | 1.3 KB |
| scripts/configure-and-report.shexecutable | script | 6.8 KB |
| scripts/tests/_bootstrap.py | script | 4.1 KB |
| scripts/tests/test_agent_work_sharing_contracts.pyexecutable | script | 3.4 KB |
scripts/tests/test_agent_work_sharing_contracts.py
View on GitHub#!/usr/bin/env python3
import sys
import unittest
from pathlib import Path
sys.path.insert(0, str(Path(__file__).resolve().parent))
from _bootstrap import FakeSf, last_json # noqa: E402
class AgentWorkSharingContractTests(unittest.TestCase):
def test_private_model_deploys_read_and_verifies(self):
with FakeSf() as fake:
rc, output = fake.run(["org", "--confirm-org-wide-visibility"])
trace = fake.read_state("trace")
self.assertEqual(rc, 0, output)
self.assertIn("project deploy start", trace)
self.assertIn("CustomObject:AgentWork", trace)
result = last_json(output)
self.assertEqual(result["status"], "configured")
self.assertEqual(result["previous_sharing_model"], "Private")
self.assertEqual(result["sharing_model"], "Read")
self.assertEqual(result["external_sharing_model"], "Private")
self.assertTrue(result["changed"])
def test_read_model_is_reused_without_deploy(self):
with FakeSf() as fake:
rc, output = fake.run(["org"], {"FAKE_CURRENT_MODEL": "Read"})
trace = fake.read_state("trace")
self.assertEqual(rc, 0, output)
self.assertNotIn("project deploy start", trace)
result = last_json(output)
self.assertEqual(result["status"], "reused")
self.assertFalse(result["changed"])
def test_plan_reports_action_without_deploy(self):
with FakeSf() as fake:
rc, output = fake.run(["org", "--plan"])
trace = fake.read_state("trace")
self.assertEqual(rc, 2, output)
self.assertNotIn("project deploy start", trace)
result = last_json(output)
self.assertEqual(result["status"], "action_needed")
self.assertTrue(result["dry_run"])
def test_production_blocks_before_deploy(self):
with FakeSf() as fake:
rc, output = fake.run(
["org", "--confirm-org-wide-visibility"],
{"FAKE_PRODUCTION": "1"},
)
trace = fake.read_state("trace")
self.assertEqual(rc, 1, output)
self.assertNotIn("project deploy start", trace)
self.assertIn("production", last_json(output)["blocking_issue"].lower())
def test_developer_edition_is_safe_for_confirmed_change(self):
with FakeSf() as fake:
rc, output = fake.run(
["org", "--confirm-org-wide-visibility"],
{"FAKE_DEVELOPER_EDITION": "1"},
)
self.assertEqual(rc, 0, output)
self.assertEqual(last_json(output)["status"], "configured")
def test_failed_readback_blocks(self):
with FakeSf() as fake:
rc, output = fake.run(
["org", "--confirm-org-wide-visibility"],
{"FAKE_READBACK_MODEL": "Private"},
)
self.assertEqual(rc, 1, output)
result = last_json(output)
self.assertEqual(result["status"], "blocked")
self.assertIn("read-back", result["blocking_issue"])
def test_change_requires_explicit_org_wide_confirmation(self):
with FakeSf() as fake:
rc, output = fake.run(["org"])
trace = fake.read_state("trace")
self.assertEqual(rc, 1, output)
self.assertNotIn("project deploy start", trace)
self.assertIn("confirm-org-wide-visibility", last_json(output)["blocking_issue"])
if __name__ == "__main__":
unittest.main(verbosity=2)
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deployment | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |