Agent skill
interactions
Add 3D interactable protocol, detection, and item interactions
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/interactions
SKILL.md
Skill: Interactables (3D)
Objective
Provide a consistent interaction system for:
- NPC conversations
- signs/plaques
- containers that give items once
Recommended pattern
- Player owns an
InteractionDetector(Area3D) that tracks nearby interactables. - Interactables join group:
interactable - Interactables implement an API (interface-by-convention):
get_prompt() -> Stringinteract(actor: Node) -> void
Steps
- Create a reusable base script
game/scripts/exploration/interactable.gd(class_name Interactable)
- Create interactable scenes
game/scenes/actors/NPC.tscngame/scenes/props/Sign.tscngame/scenes/props/Container.tscn
- Player selection
- On
interactaction:- select nearest interactable in range
- call
interact(self)
Verification
- NPC: shows dialogue and closes cleanly.
- Sign: shows text and closes cleanly.
- Container: adds item and becomes empty after first open.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?