Ink Hooks State

🌐Community
by thebushidocollective · vlatest · Repository

Ink Hooks State generates evocative scene descriptions and character states based on provided prompts, enriching storytelling & worldbuilding.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add ink-hooks-state npx -- -y @trustedskills/ink-hooks-state
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "ink-hooks-state": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/ink-hooks-state"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The ink-hooks-state skill allows you to manage and interact with state within an Ink (Inklewriter) story. It provides a mechanism for storing, retrieving, and modifying variables that influence the narrative flow and character progression. This enables more dynamic and personalized storytelling experiences driven by AI agent interactions.

When to use it

  • Dynamic Narrative: Use this skill when you want your AI agent's choices to directly impact the story’s progression beyond simple branching paths.
  • Character Customization: Allow players or agents to customize character attributes (strength, charisma) that affect dialogue options and outcomes within the Ink story.
  • Puzzle Solving: Integrate puzzles where the solution requires manipulating state variables tracked by the skill.
  • Persistent World State: Maintain a record of events and choices across multiple interactions with an Ink story, creating a sense of continuity.

Key capabilities

  • State variable management (creation, retrieval, modification)
  • Integration with Ink scripting language
  • Dynamic narrative branching based on state values
  • Persistence of state data across sessions

Example prompts

  • "Set the character's 'courage' to 80."
  • "What is the current value of the 'gold' variable?"
  • "If 'has_sword' is true, display a different dialogue option."
  • “Increment ‘experience’ by 10.”

Tips & gotchas

  • Requires familiarity with Ink scripting and its syntax.
  • Carefully consider how state variables will impact the overall narrative flow to avoid unintended consequences.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
thebushidocollective
Installs
26

🌐 Community

Passed automated security scans.