Skip to content
Finance
Hook

Hooks

What pinescript runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.

From plugin
pinescript
24212 skills3 agents3 commands2 hooks
+1

Claude Code

$ npx -y skills add traderspost/pinescript-agents --agent claude-code

What fires, and when

PostToolUse

  • MatchesWrite|Edit${CLAUDE_PLUGIN_ROOT}/scripts/validate-pine.sh

SessionStart

Fires once when a session begins, and again after a context compaction. It is where a plugin sets up its environment, or restores state the compaction dropped.

  • Matchesstartup${CLAUDE_PLUGIN_ROOT}/scripts/session-init.sh
Read hooks/hooks.json

In the plugin's words

How pinescript describes its own hook set.

Pine Script validation and session management hooks
@traderspost
Ships withpinescript

A comprehensive Pine Script development environment powered by Claude Code's Skills system. This tool helps you create professional TradingView indicators and strategies with AI assistance. Just type start to begin!

24212 skills3 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
242
Star history of traderspost/pinescript-agents on GitHub, a chart by star-history.com

More plugins that ship hooks.

octagon-market-intelligence

octagon-market-intelli…

The Octagon MCP server provides specialized AI-powered financial research and analysis by integrating with the Octagon Market Intelligence API, enabling users to analyze and extract insights from public filings, earnings calls, financial metrics, stocks &

7 skills+2149
@octagonai@octagonai
Install Plugin

Questions about the hooks in pinescript.

Which coding agents can use the hooks in pinescript?
The hooks in pinescript install in Claude Code and Cursor: each runs Claude Code hooks from .claude/settings.json, so copy the hooks there.