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.
reference.py
View on GitHub"""OutputReference — lazy pointer to a task's future output."""
from __future__ import annotations
class OutputReference:
"""A lazy reference to a not-yet-computed task output.
Usage:
ref = OutputReference("task-123")
ref.structure → OutputReference("task-123", key="structure")
ref.energy → OutputReference("task-123", key="energy")
When passed as an argument to Workflow.add_task(), the workflow
detects it and creates a task_link in the DB.
"""
__slots__ = ("task_id", "key")
def __init__(self, task_id: str, key: str | None = None):
object.__setattr__(self, "task_id", task_id)
object.__setattr__(self, "key", key)
def __getattr__(self, name: str) -> OutputReference:
if name.startswith("_"):
raise AttributeError(name)
return OutputReference(self.task_id, name)
def __repr__(self) -> str:
if self.key:
return f"OutputReference({self.task_id!r}, key={self.key!r})"
return f"OutputReference({self.task_id!r})"
@staticmethod
def is_reference(obj: object) -> bool:
return isinstance(obj, OutputReference)
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 |