yaaif-scenario
Create or maintain a YAA\F Scenario (Agent Spec): segments, architecture slots, bindings, workflow_design, coverage, and bidirectional catalog sync.
Skill by yaaif
Chalk Labs
Need help deploying yaaif-scenario?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/yaaif-yaaif-scenario
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, testing, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/yaaif-scenario
What's inside
- Skill name
yaaif-scenario- Description
- Create or maintain a YAA\F Scenario (Agent Spec): segments, architecture slots, bindings, workflow_design, coverage, and bidirectional catalog sync. Use when the user asks to create a spec/scenario, keep it in sync with live objects, sync objects from the spec, or Admin UI Open in Cursor selected a spec_id.
- License
- Apache-2.0
- Instructions
- 103 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Create and maintain a YAA\F scenario
A **Scenario** is the Admin UI name for a platform **Agent Spec**. APIs and
tools stay `yaaif_agent_spec_*` / `/api/agent-specs`. The spec is the system of
record for spec-driven development. Cursor plugin creates/updates bind with
`spec_id` + `slot_key` and the platform records those object changes back into
the spec (`catalog_objects`, slot names, `workflow_design`). Use explicit sync
when you need to pull or push the whole inventory.
```
Task Progress:
- [ ] 1. Auth + tenant
- [ ] 2. Select or create the scenario
- [ ] 3. Load spec + coverage
- [ ] 4. Apply create or maintain work through the spec
- [ ] 5. Sync spec ↔ objects, then coverage / optional adopt + publish
```
## Prerequisites
Run `yaaif-auth` first (`yaaif_ensure_session`, `login_if_needed: true`).
Confirm tenant with `yaaif_whoami`.
## Mode A — selected spec (Admin UI / Open in Cursor)
When the prompt includes `spec_id` (and usually `slug` / `name`):
1. Stay in Cursor. Do **not** open Admin UI or browser URLs for the scenario.
2. `yaaif_agent_spec_get` with that `spec_id` (id or slug).
3. `yaaif_agent_spec_readiness`, `yaaif_agent_spec_coverage` and, if useful, `yaaif_agent_spec_processing`.
4. Summarize: name, version, status, revision, mapped/drifted slots, readiness blockers, and `workflow_design`.
5. Ask what to change only if the request is vague. Otherwise apply the asked
maintenance:
- Every write includes the loaded `expected_version`. On `409`, reload and
explicitly merge/reapply; never silently overwrite a concurrent edit.
- Identity / story: `yaaif_agent_spec_update` or `yaaif_agent_spec_update_segment`
- Requirements / architecture: `yaaif_agent_spec_upsert_requirement` and
`yaaif_agent_spec_upsert_slot` (bulk replacement requires `replace_all`)
- Bind reuse: `yaaif_agent_spec_bind` (`source` defaults to `agent_spec`)
- New catalog objects: create via existing skills/tools **with** `spec_id` +
`slot_key` so they bind automatically
- Graphs: edit `workflow_design` (or create workflow with `spec_id` and omit
`workflow_graph` to seed), then preview/apply a to-objects sync
- After object-side edits, preview first with `yaaif_agent_spec_sync_preview`
then explicitly apply with `yaaif_agent_spec_sync_apply`
- Make this spec the inventory only through `yaaif_agent_spec_adoption_preview`
then `yaaif_agent_spec_adopt`
- Record passed evidence for every `must` requirement; refresh readiness,
publish, then transition to `active`
6. Finish with `yaaif_agent_spec_readiness` + coverage. Do not create a second spec for the
same slug.
## Mode B — create a new scenario
If there is no `spec_id`:
1. `yaaif_agent_spec_list` (`q` from the use-case name). Reuse if a match exists.
2. For a multi-capability use case, prefer `yaaif-plan-usecase` / `/yaaif-plan`
and create the spec immediately after plan approval.
3. Otherwise create now with `yaaif_agent_spec_create`:
- `slug` kebab-case, unique in the tenant
- `name`, `description`
- `segments` from the use-case story (overview, architecture, benefits; include
`workflow_design` when ambient graphs are planned)
- `slots` from the intended catalog objects (`kind` + `expected_name` +
`slot_key`)
4. Store `spec_id`. Every later create (`yaaif_agent_create`,
`yaaif_ambient_workflow_create`, `yaaif_skill_create`, MCP deploy, approval
strategy) must pass `spec_id` + `slot_key`.
5. After creates, preview/apply catalog sync, attach verification evidence, and
check readiness before publishing or activation.
## Mode C — apply spec → objects (or adopt live drift)
`/yaaif-sync-scenario` or when the user asks to keep the scenario in sync:
1. Resolve `spec_id` (prompt, list, or last selected scenario).
2. `yaaif_agent_spec_get` + readiness + coverage.
3. Direction (always preview before applying):
- **Apply** (default): spec → live catalog
(`yaaif_agent_spec_sync_preview` `to_objects`, then `yaaif_agent_spec_sync_apply`).
Use after editing `workflow_design` or slot `expected_name`. Skill pack
files are not overwritten.
- **Adopt** (explicit): live catalog → spec
(`yaaif_agent_spec_sync_preview` `from_objects`, then `yaaif_agent_spec_sync_apply`).
Overwrites Scenario-owned names and graphs. Use only to take live drift,
not as the default finish step after create/bind.
4. Report updated slots, applied objects, skipped items, and remaining drift.
## Ground rules
- Prefer **reuse** of existing agents / skills / workflows / MCP tools; bind them.
- Never invent MCP or local tool names. Discover via catalog / local-tools first.
- Chat→ambient skills still need `list_ambient_workflows` and
`trigger_ambient_workflow`.
- Do not hardcode tenant business copy into YAA\F core services; keep it in
skills / MCP tools / this spec’s segments.
- Credentials stay on MCP server profiles, not skill-pack `credentials.yaml`.
- Live update/delete of bound agents, ambient agents, workflows, and MCP
servers is observe-by-default (drift only). Do not ask to flip a tenant to
`require` until Apply/Adopt is in regular use; `require` 409s those writes.From yaaif/cursor-plugin, Apache-2.0.
More from yaaif/cursor-plugin
- 0.565score
yaaif-kg-enhance
yaaif
Enhance the Context Store knowledge graph by discovering missing relationships between existing catalog nodes, proposing them for approval, and applying…
SkillAFreshness: AClaude Code +9 - 0.565score
yaaif-create-file-workflow
yaaif
Create a custom file workflow on YAA\F via the Cursor MCP bridge: an ambient workflow that runs when an uploaded file finishes extraction (file.ready /…
SkillAFreshness: AClaude Code +9 - 0.565score
yaaif-docs
yaaif
Answer questions about how the current YAAIF version works.
SkillAFreshness: AClaude Code +9 - 0.565score
yaaif-requirements
yaaif
Write a customer requirement analysis, functional specification, technical specification, and an estimate with timeline for a YAA\F Scenario, then store them…
SkillAFreshness: AClaude Code +9 - 0.561score
yaaif-governance
yaaif
Translate tenant business requirements into guardrail and harness settings, investigate policy-related failures, and apply explicitly confirmed governance…
SkillAFreshness: AClaude Code +9 - 0.559score
yaaif-kg-skill-plan
yaaif
Propose an ordered skill-authoring plan grounded in the Context Store knowledge graph and hand chosen steps to skill authoring.
SkillAFreshness: AClaude Code +9 - 0.529score
yaaif-plan-usecase
yaaif
Understand a business use case, propose a YAA\F architecture plan (chat skills, ambient workflows, desktop skills, agents, MCP tools, mappings), wait for…
SkillBFreshness: BClaude Code +9 - 0.529score
yaaif-create-mcp
yaaif
Scaffold a YAA\F MCP server.
SkillBFreshness: BClaude Code +9 - 0.529score
yaaif-create-skill
yaaif
Author or maintain a YAA\F SKILL.md pack and load it into the tenant catalog via the yaaif Cursor MCP bridge.
SkillBFreshness: BClaude Code +9 - 0.526score
yaaif-ops-support
yaaif
Operations support for LLM sessions, ambient workflow runs, and desktop executions: correlate IDs, analyze failures, pull telemetry, and optionally write a…
SkillBFreshness: BClaude Code +9 - 0.526score
yaaif-platform-tools
yaaif
Discover and correctly use YAA\F agent-service built-in local tools (skill lifecycle, files, ambient trigger, session/workflow state) when authoring skills or…
SkillBFreshness: BClaude Code +9 - 0.526score
yaaif-create-ambient
yaaif
Design and install YAA\F ambient workflows via the Cursor MCP bridge for customer/partner tenants (no monorepo required).
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 3, 2026 (1 month ago)
- Last release
- Sep 2, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/yaaif/cursor-plugin
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from yaaif
- 0.565score
yaaif-kg-enhance
yaaif
Enhance the Context Store knowledge graph by discovering missing relationships between existing catalog nodes, proposing them for approval, and applying…
SkillAFreshness: AClaude Code +9 - 0.565score
yaaif-requirements
yaaif
Write a customer requirement analysis, functional specification, technical specification, and an estimate with timeline for a YAA\F Scenario, then store them…
SkillAFreshness: AClaude Code +9 - 0.565score
yaaif-docs
yaaif
Answer questions about how the current YAAIF version works.
SkillAFreshness: AClaude Code +9 - 0.565score
yaaif-create-file-workflow
yaaif
Create a custom file workflow on YAA\F via the Cursor MCP bridge: an ambient workflow that runs when an uploaded file finishes extraction (file.ready /…
SkillAFreshness: AClaude Code +9 - 0.561score
yaaif-governance
yaaif
Translate tenant business requirements into guardrail and harness settings, investigate policy-related failures, and apply explicitly confirmed governance…
SkillAFreshness: AClaude Code +9 - 0.559score
yaaif-kg-skill-plan
yaaif
Propose an ordered skill-authoring plan grounded in the Context Store knowledge graph and hand chosen steps to skill authoring.
SkillAFreshness: AClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get yaaif-scenario running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
yaaif-scenario skill. Agent Mart. https://agentmart.dev/skills/yaaif-yaaif-scenario (last updated 2026-10-24)