{"wiki":{"id":2819,"slug":"tm-s1","entity_type":"droid","entity_id":"tm-s1","title":"Template Matcher","prose_md":"## About\n\nTemplate Matcher finds the closest reusable template or design pattern for a described task. It exists so its owner, [[agt_002]], can encourage reuse and prevent inconsistent patterns from being created unnecessarily.\n\nOn demand, it searches the existing catalog and template library, calling Claude for semantic matching. It returns the best match, a similarity score, required adaptations, and a recommendation to reuse, combine, or create patterns. The Claude model is unspecified. It only reports findings; it cannot create, change, or deploy anything.\n\nTemplate Matcher’s exact name is unique, but it belongs to the standard intelligence family, which has 25 droids run across several agents. Thus, it is a uniquely named member of a reusable family—not a one-off—and it is not pure software because it calls Claude.","namesake_json":"{\"engine\": \"claude\", \"model\": null, \"claude_purpose\": \"semantic template and design-pattern matching\", \"family\": \"intelligence\", \"family_size\": 25, \"is_unique\": true}","profile_pic_path":"","source_hash":"f11f1d2d2a82b748e0e307cde77f2d95b989da22d79593f205dd3990e3f886b0","status":"active","last_generated_at":"2026-08-04 00:43:01","created_at":"2026-08-04 00:43:01","updated_at":"2026-08-04 00:43:01"},"facts":{"id":"tm-s1","name":"Template Matcher","machine_name":"TM-S1","owner":"agt_002","function":"Semantic search for closest template or design pattern","process_type":"triggered","schedule":"On demand","process_name":"template_matcher","avatar_color":"#a78bfa","created_for":"Archon ensures the codebase follows consistent design patterns and reuses existing templates. TM-S1 supports this by identifying which patterns and templates already exist that could solve a new task, helping Archon enforce consistency and prevent duplicating work.","purpose":"When someone describes a task, TM-S1 searches the design pattern catalog and template library to find the closest match. It reports how similar the match is and what changes would be needed to adapt it. This gives Archon visibility into what reusable solutions already exist, making it possible to enforce pattern reuse instead of letting new inconsistent patterns get created.","duties":"- Receives a task description and type from the user\n- Searches the existing design pattern catalog and template library\n- Uses semantic search (Claude) to find the closest matching pattern or template\n- Reports the best match, similarity score (0-100), and specific adaptations needed\n- Recommends whether to adapt an existing pattern, create a new one, or reference multiple patterns as inspiration","constraints":"TM-S1 finds and reports matches only — it does not create, modify, or deploy templates or patterns. It can only work with patterns and templates already in the catalog. The quality of matches depends on having accurate task descriptions; vague or misleading descriptions may produce poor results.","status":"running","gender":"male","archetype":"intelligence","building_block":"support","service_override":null,"enabled":1,"task_key":"initiatives.spec_written","model_free":0},"page":{"type":"droid","page_class":"main","class_label":"Main page","kind_label":"Droid","kind_gloss":"","listed":true}}