Hello-QM/catgo-LRG / server/catgo/workflow
catgo-workflow
VerifiedCreate and manage computational chemistry workflows with CatGo. Supports VASP, CP2K, ORCA, MLP, LAMMPS. Build OER/HER/CO2RR workflows, geometry optimization, frequency analysis, Gibbs energy calculations.
task_ids.py
View on GitHub# server/catgo/workflow/task_ids.py
"""Single source of truth for the V2 workflow task-id convention.
A task's primary-key `id` is globally unique and formed as `{workflow_id}:{node_id}`,
where `node_id` is the graph node id (stored separately in the `tasks.node_id`
column). Workflow ids never contain ':', so the node id is always recoverable.
Legacy bare ids and DSL-generated random ids (no ':') pass through unchanged.
"""
from __future__ import annotations
def make_task_id(workflow_id: str, node_id: str) -> str:
"""Build the globally-unique task primary key from a workflow + node id."""
return f"{workflow_id}:{node_id}"
def node_id_from_task_id(task_id: str, workflow_id: str | None = None) -> str:
"""Recover the graph node id from a (possibly namespaced) task id."""
if workflow_id and task_id.startswith(f"{workflow_id}:"):
return task_id[len(workflow_id) + 1:]
if ":" in task_id:
return task_id.split(":", 1)[1]
return task_id
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| planning-and-task-breakdownaddyosmani/agent-skillsBreaks work into ordered tasks. Use when you have a spec or clear requirements and need to break work into implementable tasks. Use when a task feels too large to start, when you need to estimate scope, or when parallel work is possible. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| screenpipethedotmack/claude-memSearch screen and audio history recorded by Screenpipe and optionally save selected context into claude-mem. Use when the user asks to recall desktop activity, a meeting, or something seen in another app through Screenpipe. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| contact-widgetnexu-io/open-designSelf-contained floating chat widget with welcome screen, social links, meeting button, and message input. Single HTML file, zero dependencies. | Stars: 108k | Updated | Claude CodeCodex | Verified | Install |
| meeting-notesnexu-io/open-designMeeting notes page — title bar with attendees, agenda checklist, decisions block, action items table with owners + dates, and a "next meeting" footer. Use when the brief mentions "meeting notes", "minutes", "1:1 notes", "all-hands recap", or "会议纪要". | Stars: 108k | Updated | Claude CodeCodex | Verified | Install |