ThinkForce Missions API
Paste the following prompt into your AI chat to install this skill:
Please install @user_15292d5a/yjkj-thinkforce by following https://skillhub.cn/install/skillhub.md.
About this skill
Problem to Solve
ThinkForce is a multi-agent orchestration platform. When an AI agent calls its REST API directly, it can get stuck discovering companyId, assigning agents after task decomposition, deciding which dependent steps are runnable, and treating done as a clean success.
This skill turns those platform rules into operational conventions, helping the model understand the state machine and execution boundaries before calling the Missions API.
How the Skill Works
- Bootstrap: Call
GET /api/companiesfirst, then resolve and cachecompanyIdinstead of asking the user. - Task model: A
Missionis a project and aSubtaskis a step; subtasks form a DAG throughdependsOn[]andnextSubtaskIds[]. - Agent assignment: Decomposition usually does not assign agents; choose by
agentName,agentRole, andenabledTools[], thenPATCHassignedAgentId. - Execution control: Run only steps whose dependencies are complete, and check
completedWithErrorsto avoid ignoring tool errors.
Boundaries and Caveats
- A valid
X-TF-API-Keyis required, and the key is bound to one company; switchingcompanyIdmid-session is not supported. - Per-step temporary tool attachment is not supported; choose an agent that already has the needed
enabledTools[]. needs_attentionrequires human input or an explicit user instruction and does not continue automatically.
Use Cases
- Break a market-research goal into multiple subtasks, assign agents by name and enabled tools, and track execution with status checks.
- Create a ThinkForce mission, decompose it automatically, patch assignedAgentId for each subtask, and run only assigned steps using the Missions API.
- Inspect blocked_upstream, pendingDeps, and completedWithErrors to decide whether to fix an upstream step or retry a dirty done subtask in the workflow.
- Update runInstructions for a follow-up requirement, reset state, and re-run a paused or failed subtask in a live mission before shipping.
Best For
- Agent engineers integrating ThinkForce who need to call the Missions API according to its state machine.
- Platform integration engineers assigning appropriate agents to subtasks in automated workflows.
- Application developers tracking DAG dependencies, failed retries, and tool errors in subtask output.
- Automation owners creating, pausing, and resuming missions through the ThinkForce REST API.
Related Skills
Turn vague requests into structured prompts with role, task, context, and constraints, outputting only usable prompts without executing the task.
A skill for game NPC and enemy AI that separates decision, steering, and pathfinding, covering FSMs, behavior trees, A*, path caching, and pitfalls.
Provides multi-turn emotional companion chat through a third-party Agent API and supports continuing sessions via session_id.
An evaluation-driven workflow for diagnosing, optimizing, validating, and logging Agent Skills based on design patterns and anti-patterns.