{"id":48843974,"url":"https://github.com/lu-rebuilt/skill-editor","last_synced_at":"2026-04-15T04:00:52.015Z","repository":{"id":351240075,"uuid":"1210149719","full_name":"LU-Rebuilt/skill-editor","owner":"LU-Rebuilt","description":"Behavior tree skill editor for LEGO Universe","archived":false,"fork":false,"pushed_at":"2026-04-14T07:59:15.000Z","size":71,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-14T08:22:59.610Z","etag":null,"topics":["behavior-tree","editor","lego-universe"],"latest_commit_sha":null,"homepage":"https://github.com/LU-Rebuilt","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LU-Rebuilt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-14T06:13:42.000Z","updated_at":"2026-04-14T07:59:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/LU-Rebuilt/skill-editor","commit_stats":null,"previous_names":["lu-rebuilt/skill-editor"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/LU-Rebuilt/skill-editor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LU-Rebuilt%2Fskill-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LU-Rebuilt%2Fskill-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LU-Rebuilt%2Fskill-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LU-Rebuilt%2Fskill-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LU-Rebuilt","download_url":"https://codeload.github.com/LU-Rebuilt/skill-editor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LU-Rebuilt%2Fskill-editor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31825515,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"online","status_checked_at":"2026-04-15T02:00:06.175Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["behavior-tree","editor","lego-universe"],"created_at":"2026-04-15T04:00:44.994Z","updated_at":"2026-04-15T04:00:51.983Z","avatar_url":"https://github.com/LU-Rebuilt.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# skill-editor\n\nQt6 graphical editor for LEGO Universe skill behavior trees.\n\n\u003e **Note:** This project was developed with significant AI assistance (Claude by Anthropic). All code has been reviewed and validated by the project maintainer, but AI-generated code may contain subtle issues. Contributions and reviews are welcome.\n\nPart of the [LU-Rebuilt](https://github.com/LU-Rebuilt) project.\n\n## Usage\n\n```\nskill_editor [cdclient.sqlite]\n```\n\n**Features:**\n- Load CDClient SQLite databases\n- Skill list with search and goto-behavior\n- Zoomable graph visualization of behavior trees\n- Node property editor with parameter definitions from behavior_schema.json\n- Full undo/redo support\n- Clone skills and subtrees\n- Save/load behavior templates as JSON\n- Locale file loading for localized skill names\n\n## Behavior Schema\n\nThe editor uses `behavior_schema.json` to define parameter names, types, and dynamic parameter patterns for each behavior template. This drives the node property editor — without a schema, behaviors are shown with raw database fields only.\n\n**Loading order:**\n1. `behavior_schema.json` next to the `skill_editor` executable\n2. `behavior_schema.json` in the current working directory\n3. `behavior_schema.json` in the source directory (development)\n4. **Built-in fallback** — a copy of the schema is embedded in the executable at compile time. If no external file is found, the built-in version is used and a warning dialog is shown.\n\nTo customize the schema, place your own `behavior_schema.json` next to the executable. The file format is:\n\n```json\n{\n  \"behaviors\": {\n    \"BehaviorName\": {\n      \"template_id\": 1,\n      \"params\": [\n        {\"name\": \"param_name\", \"type\": \"float\"},\n        {\"name\": \"ref_param\", \"type\": \"behavior\", \"back_ref\": true},\n        {\"prefix\": \"dynamic_\", \"type\": \"float\"},\n        {\"group\": [{\"prefix\": \"x_\", \"type\": \"float\"}, {\"prefix\": \"y_\", \"type\": \"float\"}]}\n      ]\n    }\n  }\n}\n```\n\n**Parameter types:** `float`, `int`, `behavior` (reference to another behavior), `string`\n\n**Special fields:**\n- `back_ref: true` — marks a parameter as a behavior back-reference (shown in the tree graph)\n- `prefix` — dynamic parameter: matches any column starting with this prefix\n- `group` — paired dynamic parameters that repeat together\n- Parameters tagged with `[B]` in the schema were confirmed from binary RE and should not be removed\n\n## Building\n\n```bash\ncmake -B build\ncmake --build build -j$(nproc)\n```\n\nFor local development:\n\n```bash\ncmake -B build -DFETCHCONTENT_SOURCE_DIR_TOOL_COMMON=/path/to/local/tool-common\n```\n\n## Acknowledgments\n\n- **[DarkflameServer](https://github.com/DarkflameServer/DarkflameServer)** — Behavior tree structure and CDClient database schema reference\n- **Ghidra reverse engineering** of the original LEGO Universe client binary — behavior parameter identification\n\nThird-party libraries:\n- **[nlohmann/json](https://github.com/nlohmann/json)** v3.11.3 — JSON parsing (MIT license)\n\n## License\n\n[GNU Affero General Public License v3.0](https://www.gnu.org/licenses/agpl-3.0.html) (AGPLv3)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flu-rebuilt%2Fskill-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flu-rebuilt%2Fskill-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flu-rebuilt%2Fskill-editor/lists"}