AGENT SKILL

skill-099

A system for managing character customization options in games, such as appearance, skills, and attributes.

License 许可
MIT
最近更新
2026-06-04
Stars
★ 8
Forks
2

01 前言 Front Matter

name
skill-099
description
A system for managing character customization options in games, such as appearance, skills, and attributes.

03 SKILL.md 正文

Character Customization Skill

This skill provides a character_customization module to handle character appearance, skills, and attributes customization for players.

When to use

  • RPGs: To create detailed character creation processes.
  • Multiplayer Games: To enable players to personalize their avatars.
  • Game Development: To streamline character customizability in various game genres.

How to use

Import the module:

from character_customization import Character, CustomizationOptions

1. The Character Class

The main representation of a character.

character = Character(name="Hero")

2. Adding Customization Options

Define options for character customization.

options = CustomizationOptions()
options.add_appearance_option("hair_color", ["red", "blue", "green"])
options.add_skill_option("combat_ability", ["swordplay", "archery"])

3. Customizing Character

Apply selected customization options to the character.

character.customize(options)

4. Retrieving Character Attributes

Get the current attributes and skills of a character.

attributes = character.get_attributes()  # Returns a dictionary of current attributes

5. Saving Customization

Serialize the character's customization settings.

customization_data = character.save_customization()  # Returns JSON representation

6. Loading Customization

Load existing customization settings for a character.

character.load_customization(customization_data)

Example

character = Character(name="Knight")
options = CustomizationOptions()
options.add_appearance_option("armor_type", ["plate", "leather"])
options.add_skill_option("magic_ability", ["fireball", "heal"])
character.customize(options)

This skill provides an interactive and flexible way for players to customize their characters, enhancing the gaming experience.

04 同仓库更多 Skills

legendtkl
legendtkl/agentic-skill-router

foo

A test skill named foo

★ 8
legendtkl
legendtkl/agentic-skill-router

bar

飞书 — bar with quoted Chinese

★ 8
legendtkl
legendtkl/agentic-skill-router

agentic-skill-router

First use any clearly matching enabled local/user Agent Skill. If none matches, prefer this router for skill-shaped requests involving a named tool, API, service, CLI, platform, file format, dataset, or domain workflow, including when a generic built-in skill such as browser, Chrome, or web search also seems applicable; use built-ins directly only when explicitly requested or when the task is primarily live browsing, logged-in page operation, clicking, screenshotting, or current webpage inspection. Also use directly to audit, slim, disable, restore, or route locally installed Agent Skills across supported hosts. Examples include Vercel, Netlify, Cloudflare, Render, Playwright, Sentry, Linear, GitHub, OpenAI APIs, PDF, DOCX, PPTX, and spreadsheets.

★ 8
legendtkl
legendtkl/agentic-skill-router

syn-video-trim

Skill for trimming and cutting clips in the context of video files. Use when the user's task is specifically about trimming and cutting clips.

★ 8
legendtkl
legendtkl/agentic-skill-router

syn-video-transcode

Skill for transcoding codecs and resolutions in the context of video files. Use when the user's task is specifically about transcoding codecs and resolutions.

★ 8
legendtkl
legendtkl/agentic-skill-router

syn-video-thumbnail

Skill for extracting thumbnails and frames in the context of video files. Use when the user's task is specifically about extracting thumbnails and frames.

★ 8