mph-pine
Skill by mphinance
Builds TradingView Pine Script v6 indicators in the mphinance house style, with faithful ports, a synthwave dashboard and v6-compliant code. Made for TradingView users who write or port Pine indicators.
Install mph-pine
Built from the published package, never by AI.
git clone --depth 1 https://github.com/mphinance/alpha-skills /tmp/alpha-skills && mkdir -p ~/.claude/skills && cp -r /tmp/alpha-skills/plugins/quant-skills/skills/mph-pine ~/.claude/skills/mph-pineRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/mphinance/alpha-skills /tmp/alpha-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/alpha-skills/plugins/quant-skills/skills/mph-pine ~/.gemini/antigravity-cli/skills/mph-pineAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
mph-pine is an agent skill for writing TradingView Pine Script v6 indicators in the mphinance house style. It starts by checking current v6 docs, then ports an existing engine, such as a Python signal or screener rule, by matching field names, constants and thresholds before adding anything new. The house template includes a synthwave color palette, grouped inputs, a dashboard table and a compressed pipe-delimited payload row for AI readers.
The skill runs a v6 landmine checklist, scans the file for em dashes, and hands the finished script to the user for compilation. There is no offline compiler, so the user pastes the script into TradingView's Pine Editor and reports any errors. The file is saved to docs/pine/ in the relevant repo, and the skill offers /ship without committing unless asked. It is for users who build or port TradingView indicators in this house style.
Written from the project's SKILL.md and checked against it.
What it can do
- Ground on v6 docsPulls current Pine Script v6 docs before writing and confirms the //@version=6 line.
- Faithful portMatches field names, constants and thresholds of an existing Python or Pine engine before adding new behavior.
- House style scaffoldBuilds a header block, palette constants, grouped inputs, calculations, plots, alerts and a dashboard.
- v6 checklistChecks common v6 breaking changes, such as bool na values and implicit int or float to bool casts.
- Dashboard and AI payload rowBuilds a synthwave table ending in a compressed pipe-delimited row that OCR or screenshot readers can parse.
- Alerts patternPairs static alertcondition calls with a bar-close alert() that carries the full context string.
- Math snippetsProvides least squares slope, intercept and r2 code, plus residual std for std-dev rails.
- Em dash scanSearches the script, including comments and strings, for en and em dashes and replaces them.
- Clipboard handoffLoads the finished script to the clipboard so the user can paste it into the TradingView Pine Editor.
- Save and offer shipWrites the script to docs/pine/<name>.pine and offers /ship, without committing unless asked.
What you need
- TradingView access with the Pine Editor, to compile and test the script
- Clipboard access for the handoff step
- Optional: context7 or pine-script docs MCP for looking up v6 docs
Try asking
- /mph-pine write a pine indicator for a channel breakout with alerts
- Port my Python channel scanner to a Pine Script v6 indicator
- Add a synthwave dashboard to my Pine script and check it for em dashes
Good to know
- There is no offline Pine compiler, so the user must compile the script in TradingView.
- It never commits to the repo unless the user asks.
- Indicators are advisory. Placing trades or wiring live orders is out of scope.
- It only covers what the skill describes. Adjacent requests need to be confirmed first.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/quant-skills/skills/mph-pine/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to mph-pine
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
mph-pine: common questions
Does the skill compile the Pine Script for me?
No. The source says there is no offline Pine compiler, so the user pastes the script into TradingView's Pine Editor to compile it and reports any errors.
Can it place trades from the indicator?
No. The source lists placing trades or wiring live orders as out of scope and describes indicators as advisory.
What does the house style include?
A header comment block, synthwave palette constants, grouped inputs, a dashboard table with an AI payload row, and no em dashes.
How do I install mph-pine?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is mph-pine free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is mph-pine safe to use?
It scores 49 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to mph-pine?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
