[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KJKTFSKJEJCGD955QYAX78":3,"skill-same:01M6KJKTFSKJEJCGD955QYAX78":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":48,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":50,"install":51,"resources":64},"01M6KJKTFSKJEJCGD955QYAX78","scala-immutable-data",null,"How to convert Python mutable dataclasses and enums to immutable Scala case classes, sealed traits, and sealed objects.\nUse when translating Python @dataclass, Enum, and mutable collection patterns to idiomatic Scala.\nCovers immutable-by-default patterns, copy with modifications, and sealed hierarchies.","cxcscmu\u002FSkillLearnBench","cxcscmu","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142838272?v=4","01M6KCQDFQWPDSN0MKZY96MSQP","01M6KCQDM7G70TKJ28NTSQC0RZ",93,"MIT","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fb4-skill-creator-claude-haiku-4-5\u002Fpython-scala-translation\u002Fscala-immutable-data\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"scala","scala immutable data","immutable","data","dataclass","python","idiomatic","with","dataclasses","traits","copy","case","how to","objects","patterns","default","use","convert","how","collection","2026-11-10 10:12:30",false,"---\nname: scala-immutable-data\ndescription: |\n  How to convert Python mutable dataclasses and enums to immutable Scala case classes, sealed traits, and sealed objects.\n  Use when translating Python @dataclass, Enum, and mutable collection patterns to idiomatic Scala.\n  Covers immutable-by-default patterns, copy with modifications, and sealed hierarchies.\n---\n\n# Scala Immutable Data Structures\n\n## Enums: Python Enum → Scala Sealed Trait + Case Objects\n\n### Python Enum Pattern\n\n```python\nclass TokenType(Enum):\n    STRING = \"string\"\n    NUMERIC = \"numeric\"\n    TEMPORAL = \"temporal\"\n    STRUCTURED = \"structured\"\n    BINARY = \"binary\"\n    NULL = \"null\"\n```\n\n### Scala Sealed Trait + Case Objects Pattern\n\nScala prefers **sealed traits** over Java-style enums for better pattern matching and type safety:\n\n```scala\nsealed trait TokenType {\n  def value: String\n}\n\ncase object StringType extends TokenType {\n  def value = \"string\"\n}\n\ncase object NumericType extends TokenType {\n  def value = \"numeric\"\n}\n\ncase object TemporalType extends TokenType {\n  def value = \"temporal\"\n}\n\ncase object StructuredType extends TokenType {\n  def value = \"structured\"\n}\n\ncase object BinaryType extends TokenType {\n  def value = \"binary\"\n}\n\ncase object NullType extends TokenType {\n  def value = \"null\"\n}\n```\n\n**Or using a companion object with values** (more Python-like):**\n\n```scala\nsealed trait TokenType {\n  def value: String\n}\n\nobject TokenType {\n  case object STRING extends TokenType { def value = \"string\" }\n  case object NUMERIC extends TokenType { def value = \"numeric\" }\n  case object TEMPORAL extends TokenType { def value = \"temporal\" }\n  case object STRUCTURED extends TokenType { def value = \"structured\" }\n  case object BINARY extends TokenType { def value = \"binary\" }\n  case object NULL extends TokenType { def value = \"null\" }\n}\n```\n\n### Pattern Matching on Sealed Traits\n\n```scala\nval tokenType: TokenType = TokenType.STRING\nval message = tokenType match {\n  case TokenType.STRING => \"It's a string!\"\n  case TokenType.NUMERIC => \"It's numeric!\"\n  case TokenType.TEMPORAL => \"It's temporal!\"\n  case _ => \"Something else\"\n}\n```\n\n**Sealed trait advantage**: Compiler checks exhaustiveness of pattern matches!\n\n## Data Classes: Python @dataclass → Scala case class\n\n### Python Dataclass (Mutable by Default)\n\n```python\n@dataclass(frozen=True)\nclass Token:\n    \"\"\"Immutable token representation.\"\"\"\n    value: str\n    token_type: TokenType\n    metadata: dict[str, Any] = field(default_factory=dict)\n\n    def with_metadata(self, **kwargs: Any) -> \"Token\":\n        \"\"\"Return new token with additional metadata.\"\"\"\n        new_meta = {**self.metadata, **kwargs}\n        return Token(self.value, self.token_type, new_meta)\n```\n\n### Scala Case Class (Immutable by Default)\n\nCase classes in Scala are **immutable by default** and have structural equality:\n\n```scala\ncase class Token(\n  value: String,\n  tokenType: TokenType,\n  metadata: Map[String, Any] = Map()\n) {\n  def withMetadata(pairs: (String, Any)*): Token =\n    this.copy(metadata = metadata ++ pairs.toMap)\n}\n```\n\n**Key differences:**\n- Scala case classes are immutable by default (no `frozen=True` needed)\n- Use `.copy()` method to create new instances with modified fields\n- Named parameters work like Python\n- Default factory becomes default value with `.toMap` conversion if needed\n\n### Using `.copy()` for Immutability\n\n```scala\n\u002F\u002F Python (manual copy)\ntoken = Token(\"value\", TokenType.STRING)\nnewToken = Token(token.value, token.token_type, {...})\n\n\u002F\u002F Scala (automatic .copy())\nval token = Token(\"value\", TokenType.STRING)\nval newToken = token.copy(metadata = Map(\"key\" -> \"value\"))\n\n\u002F\u002F Change multiple fields\nval anotherToken = token.copy(\n  value = \"newValue\",\n  metadata = Map(\"updated\" -> true)\n)\n```\n\n## Mutable Collections → Immutable Collections\n\n### Python Lists → Scala Vectors and Lists\n\n**Python (mutable):**\n```python\ntokens: list[Token] = []\ntokens.append(token)\ntokens.extend(other_tokens)\n```\n\n**Scala (immutable):**\n```scala\nvar tokens: Vector[Token] = Vector()\ntokens = tokens :+ token           \u002F\u002F Append (creates new vector)\ntokens = tokens ++ otherTokens     \u002F\u002F Extend (creates new vector)\n\n\u002F\u002F OR use var with List (both work)\nvar tokenList: List[Token] = List()\ntokenList = tokenList :+ token\n```\n\n**When to use what:**\n- **Vector**: O(log n) random access, good for large collections\n- **List**: O(n) access but efficient for head\u002Ftail operations\n- **ArrayBuffer**: mutable alternative if you need it\n\n### Python Dicts → Scala Maps\n\n**Python (mutable):**\n```python\nmetadata: dict[str, Any] = {}\nmetadata[\"key\"] = \"value\"\nmetadata.update({\"more\": \"data\"})\n```\n\n**Scala (immutable):**\n```scala\nvar metadata: Map[String, Any] = Map()\nmetadata = metadata + (\"key\" -> \"value\")\nmetadata = metadata ++ Map(\"more\" -> \"data\")\n\n\u002F\u002F Or use mutable.Map if you must mutate\nimport scala.collection.mutable\nval mutableMetadata = mutable.Map[String, Any]()\nmutableMetadata(\"key\") = \"value\"\n```\n\n## Sealed Trait Hierarchies for Variants\n\n### Python Union Types → Scala Sealed Traits\n\n**Python (runtime union):**\n```python\nJsonValue = Union[str, int, float, bool, None, list[\"JsonValue\"], dict[str, \"JsonValue\"]]\n\ndef process(value: JsonValue) -> None:\n    if isinstance(value, str):\n        handle_string(value)\n    elif isinstance(value, int):\n        handle_int(value)\n    # ...\n```\n\n**Scala (compile-time union via sealed trait):**\n```scala\nsealed trait JsonValue\n\ncase class JsonString(value: String) extends JsonValue\ncase class JsonNumber(value: Double) extends JsonValue\ncase class JsonBool(value: Boolean) extends JsonValue\ncase object JsonNull extends JsonValue\ncase class JsonArray(values: Vector[JsonValue]) extends JsonValue\ncase class JsonObject(values: Map[String, JsonValue]) extends JsonValue\n\n\u002F\u002F Pattern matching is exhaustive at compile time\ndef process(value: JsonValue): Unit = value match {\n  case JsonString(s) => handleString(s)\n  case JsonNumber(n) => handleNumber(n)\n  case JsonBool(b) => handleBool(b)\n  case JsonNull => handleNull()\n  case JsonArray(vs) => handleArray(vs)\n  case JsonObject(vs) => handleObject(vs)\n}\n```\n\n**Advantage**: Compiler enforces all cases are handled!\n\n## Recursive Data Types\n\nFor recursive types like JSON, use abstract type alias in companion object:\n\n```scala\nsealed trait JsonValue\nobject JsonValue {\n  case class JsonArray(values: Vector[JsonValue]) extends JsonValue\n  case class JsonObject(values: Map[String, JsonValue]) extends JsonValue\n  \u002F\u002F ...\n}\n```\n\n## Mutable State vs Immutable\n\n### Python Mutable Batch (Anti-pattern, but required in spec)\n\n```python\n@dataclass\nclass MutableTokenBatch:\n    tokens: list[Token] = field(default_factory=list)\n    _processed: bool = False\n\n    def add(self, token: Token) -> None:\n        if self._processed:\n            raise RuntimeError(\"Batch already processed\")\n        self.tokens.append(token)\n\n    def mark_processed(self) -> None:\n        self._processed = True\n```\n\n### Scala Mutable (minimal, encapsulated)\n\n```scala\nclass MutableTokenBatch {\n  private var tokens: Vector[Token] = Vector()\n  private var _processed: Boolean = false\n\n  def add(token: Token): Unit = {\n    if (_processed) throw new RuntimeException(\"Batch already processed\")\n    tokens = tokens :+ token\n  }\n\n  def markProcessed(): Unit = {\n    _processed = true\n  }\n\n  def getTokens: Vector[Token] = tokens\n}\n```\n\n**Key pattern**: Use `var` with private scope, immutable collection as internal state.\n\n## Option[T] Instead of None\u002FNull\n\n### Python Optional\n\n```python\ndef get_token(key: str) -> Token | None:\n    if key in registry:\n        return registry[key]\n    return None\n\nresult = get_token(\"key\")\nif result is not None:\n    process(result)\n```\n\n### Scala Option\n\n```scala\ndef getToken(key: String): Option[Token] =\n  registry.get(key)\n\nval result = getToken(\"key\")\nresult.foreach(process)\n\n\u002F\u002F Or pattern match\nresult match {\n  case Some(token) => process(token)\n  case None => handleMissing()\n}\n\n\u002F\u002F Or use getOrElse\nval token = getToken(\"key\").getOrElse(defaultToken)\n```\n\n**Scala idiom**: Use `Option.map`, `Option.flatMap`, `Option.getOrElse` instead of null checks.\n\n## Default Values\n\n### Python Defaults (including mutable defaults—antipattern)\n\n```python\ndef __init__(self, format_options: dict[str, Any] = {}):\n    self.format_options = format_options\n```\n\n### Scala Defaults (immutable)\n\n```scala\ndef apply(formatOptions: Map[String, Any] = Map()): NumericTokenizer =\n  new NumericTokenizer(formatOptions)\n```\n\n**Rule**: Never use mutable collections as default values in either language. In Scala, prefer immutable defaults or `None`.\n\n## Sealed Final Classes (When Needed)\n\nFor data types that shouldn't be extended:\n\n```scala\nsealed case class Token(\n  value: String,\n  tokenType: TokenType,\n  metadata: Map[String, Any] = Map()\n) {\n  def withMetadata(pairs: (String, Any)*): Token =\n    this.copy(metadata = metadata ++ pairs.toMap)\n}\n\n\u002F\u002F Cannot extend Token outside this file—sealed is important!\n```\n\nUse `sealed case class` to prevent accidental extension while keeping immutability.\n","# Scala Immutable Data Structures\n\n## Enums: Python Enum → Scala Sealed Trait + Case Objects\n\n### Python Enum Pattern\n\n```python\nclass TokenType(Enum):\n    STRING = \"string\"\n    NUMERIC = \"numeric\"\n    TEMPORAL = \"temporal\"\n    STRUCTURED = \"structured\"\n    BINARY = \"binary\"\n    NULL = \"null\"\n```\n\n### Scala Sealed Trait + Case Objects Pattern\n\nScala prefers **sealed traits** over Java-style enums for better pattern matching and type safety:\n\n```scala\nsealed trait TokenType {\n  def value: String\n}\n\ncase object StringType extends TokenType {\n  def value = \"string\"\n}\n\ncase object NumericType extends TokenType {\n  def value = \"numeric\"\n}\n\ncase object TemporalType extends TokenType {\n  def value = \"temporal\"\n}\n\ncase object StructuredType extends TokenType {\n  def value = \"structured\"\n}\n\ncase object BinaryType extends TokenType {\n  def value = \"binary\"\n}\n\ncase object NullType extends TokenType {\n  def value = \"null\"\n}\n```\n\n**Or using a companion object with values** (more Python-like):**\n\n```scala\nsealed trait TokenType {\n  def value: String\n}\n\nobject TokenType {\n  case object STRING extends TokenType { def value = \"string\" }\n  case object NUMERIC extends TokenType { def value = \"numeric\" }\n  case object TEMPORAL extends TokenType { def value = \"temporal\" }\n  case object STRUCTURED extends TokenType { def value = \"structured\" }\n  case object BINARY extends TokenType { def value = \"binary\" }\n  case object NULL extends TokenType { def value = \"null\" }\n}\n```\n\n### Pattern Matching on Sealed Traits\n\n```scala\nval tokenType: TokenType = TokenType.STRING\nval message = tokenType match {\n  case TokenType.STRING => \"It's a string!\"\n  case TokenType.NUMERIC => \"It's numeric!\"\n  case TokenType.TEMPORAL => \"It's temporal!\"\n  case _ => \"Something else\"\n}\n```\n\n**Sealed trait advantage**: Compiler checks exhaustiveness of pattern matches!\n\n## Data Classes: Python @dataclass → Scala case class\n\n### Python Dataclass (Mutable by Default)\n\n```python\n@dataclass(frozen=True)\nclass Token:\n    \"\"\"Immutable token representation.\"\"\"\n    value: str\n    token_type: TokenType\n    metadata: dict[str, Any] = field(default_factory=dict)\n\n    def with_metadata(self, **kwargs: Any) -> \"Token\":\n        \"\"\"Return new token with additional metadata.\"\"\"\n        new_meta = {**self.metadata, **kwargs}\n        return Token(self.value, self.token_type, new_meta)\n```\n\n### Scala Case Class (Immutable by Default)\n\nCase classes in Scala are **immutable by default** and have structural equality:\n\n```scala\ncase class Token(\n  value: String,\n  tokenType: TokenType,\n  metadata: Map[String, Any] = Map()\n) {\n  def withMetadata(pairs: (String, Any)*): Token =\n    this.copy(metadata = metadata ++ pairs.toMap)\n}\n```\n\n**Key differences:**\n- Scala case classes are immutable by default (no `frozen=True` needed)\n- Use `.copy()` method to create new instances with modified fields\n- Named parameters work like Python\n- Default factory becomes default value with `.toMap` conversion if needed\n\n### Using `.copy()` for Immutability\n\n```scala\n\u002F\u002F Python (manual copy)\ntoken = Token(\"value\", TokenType.STRING)\nnewToken = Token(token.value, token.token_type, {...})\n\n\u002F\u002F Scala (automatic .copy())\nval token = Token(\"value\", TokenType.STRING)\nval newToken = token.copy(metadata = Map(\"key\" -> \"value\"))\n\n\u002F\u002F Change multiple fields\nval anotherToken = token.copy(\n  value = \"newValue\",\n  metadata = Map(\"updated\" -> true)\n)\n```\n\n## Mutable Collections → Immutable Collections\n\n### Python Lists → Scala Vectors and Lists\n\n**Python (mutable):**\n```python\ntokens: list[Token] = []\ntokens.append(token)\ntokens.extend(other_tokens)\n```\n\n**Scala (immutable):**\n```scala\nvar tokens: Vector[Token] = Vector()\ntokens = tokens :+ token           \u002F\u002F Append (creates new vector)\ntokens = tokens ++ otherTokens     \u002F\u002F Extend (creates new vector)\n\n\u002F\u002F OR use var with List (both work)\nvar tokenList: List[Token] = List()\ntokenList = tokenList :+ token\n```\n\n**When to use what:**\n- **Vector**: O(log n) random access, good for large collections\n- **List**: O(n) access but efficient for head\u002Ftail operations\n- **ArrayBuffer**: mutable alternative if you need it\n\n### Python Dicts → Scala Maps\n\n**Python (mutable):**\n```python\nmetadata: dict[str, Any] = {}\nmetadata[\"key\"] = \"value\"\nmetadata.update({\"more\": \"data\"})\n```\n\n**Scala (immutable):**\n```scala\nvar metadata: Map[String, Any] = Map()\nmetadata = metadata + (\"key\" -> \"value\")\nmetadata = metadata ++ Map(\"more\" -> \"data\")\n\n\u002F\u002F Or use mutable.Map if you must mutate\nimport scala.collection.mutable\nval mutableMetadata = mutable.Map[String, Any]()\nmutableMetadata(\"key\") = \"value\"\n```\n\n## Sealed Trait Hierarchies for Variants\n\n### Python Union Types → Scala Sealed Traits\n\n**Python (runtime union):**\n```python\nJsonValue = Union[str, int, float, bool, None, list[\"JsonValue\"], dict[str, \"JsonValue\"]]\n\ndef process(value: JsonValue) -> None:\n    if isinstance(value, str):\n        handle_string(value)\n    elif isinstance(value, int):\n        handle_int(value)\n    # ...\n```\n\n**Scala (compile-time union via sealed trait):**\n```scala\nsealed trait JsonValue\n\ncase class JsonString(value: String) extends JsonValue\ncase class JsonNumber(value: Double) extends JsonValue\ncase class JsonBool(value: Boolean) extends JsonValue\ncase object JsonNull extends JsonValue\ncase class JsonArray(values: Vector[JsonValue]) extends JsonValue\ncase class JsonObject(values: Map[String, JsonValue]) extends JsonValue\n\n\u002F\u002F Pattern matching is exhaustive at compile time\ndef process(value: JsonValue): Unit = value match {\n  case JsonString(s) => handleString(s)\n  case JsonNumber(n) => handleNumber(n)\n  case JsonBool(b) => handleBool(b)\n  case JsonNull => handleNull()\n  case JsonArray(vs) => handleArray(vs)\n  case JsonObject(vs) => handleObject(vs)\n}\n```\n\n**Advantage**: Compiler enforces all cases are handled!\n\n## Recursive Data Types\n\nFor recursive types like JSON, use abstract type alias in companion object:\n\n```scala\nsealed trait JsonValue\nobject JsonValue {\n  case class JsonArray(values: Vector[JsonValue]) extends JsonValue\n  case class JsonObject(values: Map[String, JsonValue]) extends JsonValue\n  \u002F\u002F ...\n}\n```\n\n## Mutable State vs Immutable\n\n### Python Mutable Batch (Anti-pattern, but required in spec)\n\n```python\n@dataclass\nclass MutableTokenBatch:\n    tokens: list[Token] = field(default_factory=list)\n    _processed: bool = False\n\n    def add(self, token: Token) -> None:\n        if self._processed:\n            raise RuntimeError(\"Batch already processed\")\n        self.tokens.append(token)\n\n    def mark_processed(self) -> None:\n        self._processed = True\n```\n\n### Scala Mutable (minimal, encapsulated)\n\n```scala\nclass MutableTokenBatch {\n  private var tokens: Vector[Token] = Vector()\n  private var _processed: Boolean = false\n\n  def add(token: Token): Unit = {\n    if (_processed) throw new RuntimeException(\"Batch already processed\")\n    tokens = tokens :+ token\n  }\n\n  def markProcessed(): Unit = {\n    _processed = true\n  }\n\n  def getTokens: Vector[Token] = tokens\n}\n```\n\n**Key pattern**: Use `var` with private scope, immutable collection as internal state.\n\n## Option[T] Instead of None\u002FNull\n\n### Python Optional\n\n```python\ndef get_token(key: str) -> Token | None:\n    if key in registry:\n        return registry[key]\n    return None\n\nresult = get_token(\"key\")\nif result is not None:\n    process(result)\n```\n\n### Scala Option\n\n```scala\ndef getToken(key: String): Option[Token] =\n  registry.get(key)\n\nval result = getToken(\"key\")\nresult.foreach(process)\n\n\u002F\u002F Or pattern match\nresult match {\n  case Some(token) => process(token)\n  case None => handleMissing()\n}\n\n\u002F\u002F Or use getOrElse\nval token = getToken(\"key\").getOrElse(defaultToken)\n```\n\n**Scala idiom**: Use `Option.map`, `Option.flatMap`, `Option.getOrElse` instead of null checks.\n\n## Default Values\n\n### Python Defaults (including mutable defaults—antipattern)\n\n```python\ndef __init__(self, format_options: dict[str, Any] = {}):\n    self.format_options = format_options\n```\n\n### Scala Defaults (immutable)\n\n```scala\ndef apply(formatOptions: Map[String, Any] = Map()): NumericTokenizer =\n  new NumericTokenizer(formatOptions)\n```\n\n**Rule**: Never use mutable collections as default values in either language. In Scala, prefer immutable defaults or `None`.\n\n## Sealed Final Classes (When Needed)\n\nFor data types that shouldn't be extended:\n\n```scala\nsealed case class Token(\n  value: String,\n  tokenType: TokenType,\n  metadata: Map[String, Any] = Map()\n) {\n  def withMetadata(pairs: (String, Any)*): Token =\n    this.copy(metadata = metadata ++ pairs.toMap)\n}\n\n\u002F\u002F Cannot extend Token outside this file—sealed is important!\n```\n\nUse `sealed case class` to prevent accidental extension while keeping immutability.\n",{"name":5,"description":7},"main","726e1f79b96b0cb3d729d0e55a1c847e0b5353ae","skills\u002Fb4-skill-creator-claude-haiku-4-5\u002Fpython-scala-translation\u002Fscala-immutable-data",8,"https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench","https:\u002F\u002Fcxcscmu.github.io\u002FSkillLearnBench","https:\u002F\u002Fgithub.com\u002Fcxcscmu","2026-10-02 22:55:36",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add cxcscmu\u002FSkillLearnBench --skill scala-immutable-data",{"tool":57,"command":58},"bunx","bunx skills add cxcscmu\u002FSkillLearnBench --skill scala-immutable-data",{"tool":60,"command":61},"pnpm","pnpm dlx skills add cxcscmu\u002FSkillLearnBench --skill scala-immutable-data","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fb4-skill-creator-claude-haiku-4-5\u002Fpython-scala-translation\u002Fscala-immutable-data\u002FSKILL.md",true,[],[66,79,101,119,139,150],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":38},"01M6KM5KH175P5ABP5JMX2SBDQ","object_counter","Count occurrences of an object in the image using computer vision algorithm.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Fvideo-object-counting\u002Fobject_counter\u002FSKILL.md",[],[73,74,75,76,77,78],"object counter","object","vision","computer","Computer Vision","image",{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":38},"01M6KM51TMVXG79MMPCS6Y8G86","travel-planning-workflow","Invoke this skill when performing travel planning. It defines a structured workflow for generating itineraries. Following this workflow is essential to ensure the final plan satisfies user requirements.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftravel-planning\u002Ftravel-planning-workflow\u002FSKILL.md",[],[86,87,88,89,90,91,92,93,94,95,96,97,98,99,100],"workflow","planning","planning workflow","travel","travel planning","travel planning workflow","structured","performing","plan","for","user","it","requirements","essential","itineraries",{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":38},"01M6KM4DY820XHS9YTSK5QP5HD","bundled-dataset-search-tool","invoke this skill when you need to perform database search for travel planning. This skill provides some useful pre-packaged tools to look up accommodations, attractions, cities, driving distance, flights, and restaurants from the bundled dataset.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftravel-planning\u002Fbundled-dataset-search-tool\u002FSKILL.md",[],[108,109,110,111,112,113,114,89,115,116,90,117,95,118,87],"search","tool","dataset","bundled dataset search tool","restaurants","Tools","up","look","flights","you","database",{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":38},"01M6KM465BB9PQ0B548HQSVAWZ","glm-output","Output-processing guidance for GLM tasks. Especially useful after glm-basics and glm-calibration when you need verifier-matching metrics from output.nc and a final \u002Froot\u002Fmetrics.json.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftemperature-simulation\u002Fglm-output\u002FSKILL.md",[],[126,127,128,95,129,130,131,132,133,134,135,136,117,137,138],"glm output","output","glm","tasks","metrics","json","basics","guidance","matching","verifier","processing","root","calibration",{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":38},"01M6KM40KY3QWDW5W97S39R2BC","glm-calibration","Calibration guidance for GLM tasks. Often most effective after glm-basics has clarified the setup; glm-output is the companion skill for exact final metric computation.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftemperature-simulation\u002Fglm-calibration\u002FSKILL.md",[],[146,138,128,127,133,132,129,147,148,95,149],"glm calibration","setup","companion","metric",{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":38},"01M6KM3VHHVSGMGHJQB3PPT6YG","glm-basics","A good starting point for GLM calibration tasks. Use to inspect glm3.nml, confirm how GLM runs, and identify the relevant files before moving on to calibration and output evaluation.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftemperature-simulation\u002Fglm-basics\u002FSKILL.md",[],[157,128,132,158,146,138,95,127,159,160,161,34,36,162,129],"glm basics","inspect","relevant","files","good","Evaluation"]