Agent skill
saas-agent-toolkit
Design agent-usable SaaS tool systems using six reusable tool shapes (Search, Summarize, Draft, Update, Notify, Approve) plus connectors and policy guardrails. Use when turning SaaS features into reliable agent actions with clear contracts, permissions, audit trails, and approval gates.
Install this agent skill to your Project
npx add-skill https://github.com/hexbee/hello-skills/tree/main/skills/saas-agent-toolkit
SKILL.md
SaaS Agent Toolkit
Overview
Use this skill when a user asks how to make a SaaS product "agent-usable" rather than only human-usable.
This skill reframes product capabilities into a stable execution model:
- Connectors layer: auth and event plumbing
- Tools layer: six reusable tool shapes
- Policy layer: permissions, approvals, and reliability guardrails
Workflow
- Scope target SaaS domain and entities.
- Define the 3-layer architecture.
- Map capabilities into the six tool shapes.
- Add guardrails (auth, allowlists, idempotency, audit).
- Produce a concrete rollout plan and KPI set.
Step 1: Scope Domain
Capture:
- Product/system (for example Zendesk, Salesforce, Jira, Notion)
- Core entities (ticket, contact, issue, page, deal, order)
- High-risk actions (payment, delete, external publish, permission change)
- Success outcome (speed, quality, cost, reliability)
Step 2: Build 3-Layer Architecture
Design these layers explicitly:
Connectors: OAuth/API key, webhook ingestion, identity mapping, optional SCIM.Tools: Search, Summarize, Draft, Update, Notify, Approve.Policy & Guardrails: RBAC, budgets, rate limits, PII controls, logging, retries.
Design principle: Prefer predictable, auditable, rollback-safe operations over "smart but opaque" behavior.
Step 3: Define Tool Contracts
Use six stable tool contracts:
Search: locate entities and relationships.Summarize: produce structured, citation-backed takeaways.Draft: generate submit-ready drafts without auto-sending.Update: write bounded, idempotent changes back to systems.Notify: close loops with owners/watchers/approvers.Approve: enforce human gating for high-risk operations.
Read references/tool-contracts.md for function templates and I/O expectations.
Step 4: Add Mandatory Guardrails
Apply all of the following:
- Explicit error taxonomy (
401,403,404,empty,conflict,timeout) - Idempotency key for mutating actions
- Field allowlist for
Update(no unrestricted patch) - Citation requirement for
Summarize - Dry-run and draft-only defaults for user-facing output
- Approval gates for high-risk categories
- Full audit trail: who requested, who approved, what changed, when, result
Read references/approval-and-audit.md for standard approval and audit schema.
Step 5: Produce Deliverables
Return output in this structure:
- Domain scope and entities
- 3-layer architecture
- Tool contract table (six tools)
- Guardrail design
- Example end-to-end workflow
- Rollout plan (
0-30,31-90,90+days) - KPI table
- Top unresolved risk
KPI minimums:
- task completion rate
- first-call success
- API success rate
- p95 latency
- integration lead time
- unit outcome cost
Example Workflow Patterns
Use references/workflow-patterns.md for ready-to-adapt flows:
- customer support triage and response
- sales follow-up automation
- incident assistant with approval-gated external updates
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
analogy-commentary
Turn source content into a familiar analogy framework, then produce concise commentary angles and a short take. Use when the user asks whether a post, article, speech, or idea is “like” a known story, theory, faction, historical pattern, or strategic lens.
deep-productivity
Master deep work productivity through the three types of work framework (Building, Maintenance, Recovery). Use when user needs to: (1) Build a sustainable deep work routine with just 1 hour/day, (2) Create vision/anti-vision for life direction, (3) Structure goals using the 10-year → 1-year → 1-month → 1-week hierarchy, (4) Apply project-based learning to bridge skill gaps, (5) Identify lever-moving tasks that actually progress goals, (6) Balance focus work with necessary recovery for creativity.
multi-agent-systems
Design and implement multi-agent LLM architectures using the orchestrator-subagent pattern. Use when: (1) Deciding whether to use multi-agent vs single-agent systems, (2) Implementing context isolation for high-volume operations, (3) Parallelizing independent research tasks, (4) Creating specialized agents with focused tool sets, (5) Building verification subagents for quality assurance, or (6) Analyzing context-centric decomposition boundaries.
agent-first-product-strategy
Reframe AI product and SaaS strategy from human-user assumptions to agent-first execution. Use when redefining product positioning, success metrics, API/docs priorities, go-to-market, or roadmap decisions for an AI-native market where agents are primary software users.
claim-ledger
将研究与写作中的主张转成“Claim-Evidence-Boundary”可核验账本。用于在产出前强制补齐证据、反证、边界与可发布性判断,防止无依据断言并提升复用性。
debog-yourself
Help users identify and escape psychological traps that are holding them back. Use when user feels stuck, unable to progress, facing a deadlock, or experiencing decision paralysis. Provide diagnostic frameworks and specific strategies to help users understand which trap pattern they're in and find a path forward.
Didn't find tool you were looking for?