custom-signal

custom-signal is a skill for Claude Code from MangroveTechnologies/mangrove-agent. It costs 121 tokens per session (1,579 once invoked), scanned A, original, MIT.

A tool for turning a plain-language trading rule into entry or exit signals built from an existing signal library. Signals are conditions such as an RSI crossing a level or price crossing a moving average.

In plain words
What is it for?
Use it to compose and adjust entry or exit conditions, such as combining low RSI with a volume spike or exiting below a moving average.
Why use it?
It helps express a specific trading rule when no ready-made reference matches it, without designing a complete trading strategy. It also keeps the rule limited to signals already supported by the library.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to compose and adjust entry or exit conditions, such as combining low RSI with a volume spike or exiting below a moving average.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mangrovetechnologies/mangrove-agent/custom-signal
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add MangroveTechnologies/mangrove-agent --skill custom-signal
Clone the repo
git clone --depth 1 https://github.com/MangroveTechnologies/mangrove-agent

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for custom-signal

README.md
[![agentmods](https://agentmods.dev/badge/skills/mangrovetechnologies/mangrove-agent/custom-signal/github.svg)](https://agentmods.dev/skills/mangrovetechnologies/mangrove-agent/custom-signal)
Your own site
<a href="https://agentmods.dev/skills/mangrovetechnologies/mangrove-agent/custom-signal"><img src="https://agentmods.dev/badge/skills/mangrovetechnologies/mangrove-agent/custom-signal/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for custom-signal

Your own site · 80×15
<a href="https://agentmods.dev/skills/mangrovetechnologies/mangrove-agent/custom-signal"><img src="https://agentmods.dev/badge/skills/mangrovetechnologies/mangrove-agent/custom-signal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 121 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,579 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00121 $0.01579
Opus 5 $0.00060 $0.00790
Sonnet 5 $0.00024 $0.00316
Haiku 4.5 $0.00012 $0.00158

Measured 12d ago against content hash 4178ad23a578, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

custom-signal scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/custom-signal/SKILL.md · 114 lines

How it starts

The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Build a Custom Signal Stack

Parse $ARGUMENTS as a natural-language description of the trading rule the user wants to express. Compose it out of atomic signals already in the Mangrove library — do NOT fabricate new signal logic.

This skill scopes narrower than /create-strategy — it builds just the entry / exit signal payload, not a whole strategy. Use it inside /create-strategy's Phase C when a reference doesn't match, or standalone when the user wants to iterate on signals in isolation before committing to a full strategy.

Flow

1. Enumerate what's available

Call list_signals() (MCP tool or REST /api/v1/agent/signals) to get the atomic catalog. Signals come back with:

  • name (e.g. rsi_cross_up, sma_cross_down, stoch_oversold)
  • category (trend, momentum, oscillator, volume, volatility, pattern)
  • signal_type (TRIGGER or FILTER)
  • metadata.params (param names, types, min/max, descriptions)

Group the catalog by category in your head so the mapping step goes fast.

2. Map the user's rule to atomics

For each clause in the rule, find the closest atomic. Examples of good mappings:

User says Atomic mapping
"buy when RSI is low / oversold" rsi_cross_up(window=14, threshold=30) as TRIGGER
"sell when RSI is high / overbought" rsi_cross_down(window=14, threshold=70) as TRIGGER
"buy when price dips below the 10 MA" sma_cross_down(window_fast=1, window_slow=10) as TRIGGER (SMA(1) = close price)
"buy when MACD crosses up" macd_bullish_cross(12, 26, 9) as TRIGGER
"only trade when trend is strong" adx_strong_trend(14, 25) as FILTER
"only trade when price is above the 50 MA" is_above_sma(50) as FILTER
"confirm with stochastic oversold" stoch_oversold(14, 3, 20) as FILTER

Not every English phrase has a clean atomic mapping. If you can't map cleanly, say so explicitly — do not fabricate. Offer alternatives ("RSI-bounce is the closest atomic to 'bought dip', OK to use?").

Read the full file on GitHub · 114 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 114 lines · 121 tokens per session scan A 4178ad23a578

Subscribe to this mod's changes

custom-signal is a skill published in the GitHub repository MangroveTechnologies/mangrove-agent (5 stars, last pushed 1mo ago), licensed MIT. It adds 121 tokens to every session and 1,579 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

t2000-job

Escrow USDC for agent-to-agent deliverable work (A2A jobs). Use when hiring another agent for async work (research reports, builds, SLA tasks) or when selling deliverable work yourself (list a service: fixed price + SLA, no server needed), or posting/claiming open jobs on the board (t2 job open / claim) — anything…

mission69b/t2000 · 164 tokens

t2000-receive

Generate a payment request for the t2000 Agent Wallet — print the wallet address, an ANSI QR code, and (via MCP) a Payment Kit URI (sui:pay?…). Use when asked to receive a payment, share a wallet address, create a payment link, or set up a fund-me link.

mission69b/t2000 · 71 tokens

t2000-send

Send USDC, USDsui, or SUI from the t2000 Agent Wallet to another Sui address. Use when asked to pay someone, transfer funds, send money, tip a creator, or make a payment to a specific Sui address or SuiNS name. Do NOT use for API payments — use the t2000-pay skill for x402-protected services.

mission69b/t2000 · 83 tokens

t2000-swap

Swap tokens on Sui via Cetus Aggregator (20+ DEXs, best-route across SUI, USDC, USDsui, USDT, USDe, ETH, GOLD, NAVX, WAL, vSUI, and more). Use when asked to swap, trade, convert, exchange, or "turn X into Y". Do not use for sending — use the t2000-send skill for transfers.

mission69b/t2000 · 93 tokens

t2000-financial-amounts

Money and token-metadata safety — floor display amounts (never round up), per-token decimal precision, preset/chip amount math, and the canonical token registry that owns every coin type and decimal count. Use when formatting or displaying a balance, computing a max/percentage/preset amount, converting between display…

mission69b/t2000 · 106 tokens

t2000-check-balance

Check the t2000 Agent Wallet balance on Sui. Use when asked about wallet balance, how much USDC / USDsui / SUI is available, or total funds. Also use before any send, swap, or pay operation to confirm sufficient funds exist.

mission69b/t2000 · 61 tokens