.claude/skills/flow-skill-cursor-agent-integration/SKILL.md
Understand and interact with the cursor-agent CLI, including its output formats (JSON, text, stream-json), session management (resume), and integration with benchmarks. Use when working on cursor-agent CLI, benchmark runners, or automated agent interactions.
npx skillsauth add korchasa/ai-skel-ts flow-skill-cursor-agent-integrationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill provides technical details for interacting with the cursor-agent CLI, the primary interface for the AssistFlow AI agent.
cursor-agent is a CLI tool for autonomous task execution, tool usage, and interactive sessions.
When using the --print flag, specify the format with --output-format:
In --output-format json mode, the CLI returns a single object:
{
"type": "result",
"subtype": "success",
"is_error": false,
"duration_ms": 4032,
"result": "Final assistant response text",
"session_id": "uuid-string",
"messages": [
{ "type": "assistant", "content": "..." },
{ "type": "user", "content": "..." }
]
}
session_id: Unique identifier for the chat session.result: The final text response from the agent.subtype: Completion status (success, error, input_required).messages: Full conversation history for the session.subtype is input_required, the agent exits and waits for further instruction.cursor-agent <new_prompt> --resume <session_id> to continue a session. The agent loads history based on the ID.json mode, wait for process exit and parse the entire output (or the last line) as a single JSON object.session_id is the source of truth for state. Benchmarks should capture this ID to chain multiple agent calls.tools
Scaffold a complete AI agent application skeleton with LLM integration, tool calling, observability, cost tracking, session management, and content fetching using @korchasa/ai-skel-ts. Use when the user asks to create an AI agent, add LLM integration, scaffold an AI application, or mentions "ai-skel", "agent skeleton", or "AI scaffold". Works with any programming language.
testing
Create structured specification for large features using phased decomposition. Produces documents/spec-{name}.md with dependency-ordered phases, atomic tasks, explicit boundaries, and per-phase status tracking.
documentation
Guidelines for writing comprehensive Product Requirements Documents (PRD)
development
How to write in informational style