Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Provides NodeReal MegaNode blockchain infrastructure APIs for 25+ chains including BSC, Ethereum, opBNB, Optimism, Polygon, Arbitrum, and Klaytn. Covers standard JSON-RPC endpoints, Enhanced APIs (nr_ methods for ERC-20 token balances, NFT holdings, asset transfers), MegaFuel gasless transactions via BEP-322 paymaster, Direct Route MEV protection, Debug/Trace APIs, WebSocket subscriptions, ETH Beacon Chain consensus layer, Portal API usage monitoring, API Marketplace (NFTScan, Contracts API, SPA
SkillScore50/100
Test results 50
3/3 safety checks passed
5%50%of test cases passed +45 pts
Passed 11 of 22 test cases with the skill, and 1 of 22 without it.
10 fixed1 passed either way11 still failing0 broke
Adds every file the skill has, pinned so you can update it. No account needed.
pip install "decimalai>=0.15"
decimalai skills add meganode-skill
claude --plugin-dir "$(git rev-parse --show-toplevel 2>/dev/null || pwd)/.agents"The same install from Python, for a notebook or a setup script.
pip install "decimalai>=0.15"from decimalai import skillpkg
# Writes .agents/skills and .decimal/skills.toml. Safe to run twice.
result = skillpkg.add("meganode-skill")
if result.exit_code:
raise SystemExit(result.problems)
print("Added. Start Claude Code with the command below.")claude --plugin-dir "$(git rev-parse --show-toplevel 2>/dev/null || pwd)/.agents"Type these in a Claude Code session. No account or API key. It writes the skill and any files it bundles, and asks first when its safety rating isn't Passed.
/plugin marketplace add decimal-labs/decimalai-claude-plugins
/plugin install decimalai@decimalai/decimalai:install meganode-skillThe plugin needs python3 and curl on your machine.
No Python or account. Claude Code picks it up in its next session.
curl -fsSL --create-dirs -o .claude/skills/meganode-skill/SKILL.md https://app.decimal.ai/s/meganode-skill/SKILL.md.claude/skills/meganode-skill/SKILL.mdThis gets SKILL.md only. The skill's 20 other files are not included.
agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[claude-agent-sdk]"
decimalai skills add meganode-skillimport asyncio
from claude_agent_sdk import ClaudeAgentOptions
from decimalai.claude_agent_sdk import agent_config
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
async def main():
question = "Hello!"
async with support.run(question) as run: # one user message, one run
async for message in run.query(options=ClaudeAgentOptions(max_turns=6)):
print(message)
# In a notebook or async code: await main()
asyncio.run(main())Prefer its own loader? ClaudeAgentOptions(plugins=[skills_plugin()], skills="all") reads the same folder. Use one or the other: a skill delivered both ways reaches the prompt twice.
The same install from Python, for a notebook or a setup script. agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[claude-agent-sdk]"from decimalai import skillpkg
# Writes .agents/skills and .decimal/skills.toml. Safe to run twice.
result = skillpkg.add("meganode-skill")
if result.exit_code:
raise SystemExit(result.problems)
import asyncio
from claude_agent_sdk import ClaudeAgentOptions
from decimalai.claude_agent_sdk import agent_config
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
async def main():
question = "Hello!"
async with support.run(question) as run: # one user message, one run
async for message in run.query(options=ClaudeAgentOptions(max_turns=6)):
print(message)
# In a notebook or async code: await main()
asyncio.run(main())Prefer its own loader? ClaudeAgentOptions(plugins=[skills_plugin()], skills="all") reads the same folder. Use one or the other: a skill delivered both ways reaches the prompt twice.
No DecimalAI package. The whole skill goes in every prompt, and nothing pins or updates it.
.agents/skills/meganode-skill/SKILL.mdimport asyncio
from pathlib import Path
from claude_agent_sdk import ClaudeAgentOptions, query
skill = Path(".agents/skills/meganode-skill/SKILL.md").read_text()
options = ClaudeAgentOptions(system_prompt=f"You are a helpful agent.\n\n{skill}", max_turns=6)
async def main():
async for message in query(prompt="Hello!", options=options):
print(message)
# In a notebook or async code: await main()
asyncio.run(main())This gets SKILL.md only. The skill's 20 other files are not included.
agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[openai-agents]"
decimalai skills add meganode-skillfrom agents import Agent, Runner
from decimalai.openai_agents import agent_config
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
agent = Agent(
name=support.name,
instructions=support.instructions, # your prompt, then the skill list
tools=[*support.tools], # your tools, then load_skill
)
# In a notebook or async code: result = await Runner.run(agent, "Hello!")
result = Runner.run_sync(agent, "Hello!")Using SandboxAgent? capabilities=[Shell(), decimalai.openai_agents.sandbox_skills()] points its own loader at the same folder.
The same install from Python, for a notebook or a setup script. agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[openai-agents]"from decimalai import skillpkg
# Writes .agents/skills and .decimal/skills.toml. Safe to run twice.
result = skillpkg.add("meganode-skill")
if result.exit_code:
raise SystemExit(result.problems)
from agents import Agent, Runner
from decimalai.openai_agents import agent_config
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
agent = Agent(
name=support.name,
instructions=support.instructions, # your prompt, then the skill list
tools=[*support.tools], # your tools, then load_skill
)
# In a notebook or async code: result = await Runner.run(agent, "Hello!")
result = Runner.run_sync(agent, "Hello!")Using SandboxAgent? capabilities=[Shell(), decimalai.openai_agents.sandbox_skills()] points its own loader at the same folder.
No DecimalAI package. The whole skill goes in every prompt, and nothing pins or updates it.
.agents/skills/meganode-skill/SKILL.mdfrom pathlib import Path
from agents import Agent, Runner
skill = Path(".agents/skills/meganode-skill/SKILL.md").read_text()
agent = Agent(name="support", instructions=f"You are a helpful agent.\n\n{skill}")
# In a notebook or async code: result = await Runner.run(agent, "Hello!")
result = Runner.run_sync(agent, "Hello!")This gets SKILL.md only. The skill's 20 other files are not included.
agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[openai]"
decimalai skills add meganode-skillimport json
from openai import OpenAI
from decimalai.openai import agent_config
client = OpenAI()
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
def lookup_order(order_id: str) -> str:
return f"Order {order_id} shipped yesterday."
# Your tools, as Chat Completions takes them, and what answers each.
TOOLS = [{"type": "function", "function": {
"name": "lookup_order",
"description": "Look up the status of an order.",
"parameters": {"type": "object", "properties": {"order_id": {"type": "string"}},
"required": ["order_id"]},
}}]
FUNCTIONS = {"lookup_order": lookup_order}
question = "Where is order A1001?"
with support.run(question) as run: # one user message, one run
# run.system is your prompt, then the skill list.
messages = [{"role": "system", "content": run.system}, run.message]
while True:
reply = client.chat.completions.create(
model="gpt-5.4-mini",
messages=messages,
tools=[*TOOLS, *run.tools], # your tools, then load_skill
).choices[0].message
messages.append(reply)
if not reply.tool_calls:
break
for call in reply.tool_calls:
# load_skill is answered by the run; your own tools by FUNCTIONS.
function = FUNCTIONS.get(call.function.name)
messages.append(run.tool_result(call) or {
"role": "tool", "tool_call_id": call.id,
"content": function(**json.loads(call.function.arguments)) if function
else f"There is no tool named {call.function.name!r}.",
})
print(reply.content)
# The Responses API takes run.response_tools instead of run.tools.The same install from Python, for a notebook or a setup script. agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[openai]"from decimalai import skillpkg
# Writes .agents/skills and .decimal/skills.toml. Safe to run twice.
result = skillpkg.add("meganode-skill")
if result.exit_code:
raise SystemExit(result.problems)
import json
from openai import OpenAI
from decimalai.openai import agent_config
client = OpenAI()
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
def lookup_order(order_id: str) -> str:
return f"Order {order_id} shipped yesterday."
# Your tools, as Chat Completions takes them, and what answers each.
TOOLS = [{"type": "function", "function": {
"name": "lookup_order",
"description": "Look up the status of an order.",
"parameters": {"type": "object", "properties": {"order_id": {"type": "string"}},
"required": ["order_id"]},
}}]
FUNCTIONS = {"lookup_order": lookup_order}
question = "Where is order A1001?"
with support.run(question) as run: # one user message, one run
# run.system is your prompt, then the skill list.
messages = [{"role": "system", "content": run.system}, run.message]
while True:
reply = client.chat.completions.create(
model="gpt-5.4-mini",
messages=messages,
tools=[*TOOLS, *run.tools], # your tools, then load_skill
).choices[0].message
messages.append(reply)
if not reply.tool_calls:
break
for call in reply.tool_calls:
# load_skill is answered by the run; your own tools by FUNCTIONS.
function = FUNCTIONS.get(call.function.name)
messages.append(run.tool_result(call) or {
"role": "tool", "tool_call_id": call.id,
"content": function(**json.loads(call.function.arguments)) if function
else f"There is no tool named {call.function.name!r}.",
})
print(reply.content)
# The Responses API takes run.response_tools instead of run.tools.No DecimalAI package. The whole skill goes in every prompt, and nothing pins or updates it.
.agents/skills/meganode-skill/SKILL.mdfrom pathlib import Path
from openai import OpenAI
client = OpenAI()
skill = Path(".agents/skills/meganode-skill/SKILL.md").read_text()
reply = client.chat.completions.create(
model="gpt-5.4-mini",
messages=[
{"role": "system", "content": f"You are a helpful agent.\n\n{skill}"},
{"role": "user", "content": "Hello!"},
],
).choices[0].messageThis gets SKILL.md only. The skill's 20 other files are not included.
agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[anthropic]"
decimalai skills add meganode-skillimport anthropic
from decimalai.anthropic import agent_config
client = anthropic.Anthropic()
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
question = "Hello!"
with support.run(question) as run: # one user message, one run
answer = client.beta.messages.tool_runner(
model="claude-haiku-5-5",
max_tokens=4096,
system=run.system, # your prompt, then the skill list
tools=[*run.tools], # your tools, then load_skill
messages=[{"role": "user", "content": question}],
).until_done()The same install from Python, for a notebook or a setup script. agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[anthropic]"from decimalai import skillpkg
# Writes .agents/skills and .decimal/skills.toml. Safe to run twice.
result = skillpkg.add("meganode-skill")
if result.exit_code:
raise SystemExit(result.problems)
import anthropic
from decimalai.anthropic import agent_config
client = anthropic.Anthropic()
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
question = "Hello!"
with support.run(question) as run: # one user message, one run
answer = client.beta.messages.tool_runner(
model="claude-haiku-5-5",
max_tokens=4096,
system=run.system, # your prompt, then the skill list
tools=[*run.tools], # your tools, then load_skill
messages=[{"role": "user", "content": question}],
).until_done()No DecimalAI package. The whole skill goes in every prompt, and nothing pins or updates it.
.agents/skills/meganode-skill/SKILL.mdfrom pathlib import Path
import anthropic
client = anthropic.Anthropic()
skill = Path(".agents/skills/meganode-skill/SKILL.md").read_text()
reply = client.messages.create(
model="claude-haiku-5-5",
max_tokens=4096,
system=f"You are a helpful agent.\n\n{skill}",
messages=[{"role": "user", "content": "Hello!"}],
)This gets SKILL.md only. The skill's 20 other files are not included.
agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[google-genai]"
decimalai skills add meganode-skillfrom google import genai
from google.genai import types
from decimalai.google_genai import agent_config
client = genai.Client()
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
def lookup_order(order_id: str) -> str:
return f"Order {order_id} shipped yesterday."
# Your functions, as declarations for the model, and what answers each.
TOOLS = [{"function_declarations": [{
"name": "lookup_order",
"description": "Look up the status of an order.",
"parameters_json_schema": {"type": "object", "properties": {"order_id": {"type": "string"}},
"required": ["order_id"]},
}]}]
FUNCTIONS = {"lookup_order": lookup_order}
question = "Where is order A1001?"
with support.run(question) as run: # one user message, one run
config = types.GenerateContentConfig(
system_instruction=run.system, # your prompt, then the skill list
tools=[*TOOLS, *run.tool_params], # your functions, then load_skill
)
contents = [{"role": "user", "parts": [{"text": run.message}]}]
while True:
response = client.models.generate_content(
model="gemini-3.5-flash", contents=contents, config=config,
)
if not response.function_calls:
break
contents.append(response.candidates[0].content)
parts = []
for call in response.function_calls:
# load_skill is answered by the run; your own functions by FUNCTIONS.
# A loop of your own rather than automatic function calling, which
# raises KeyError when the model asks for a function you did not pass.
function = FUNCTIONS.get(call.name)
parts.append(run.tool_result(call) or {"function_response": {
"name": call.name, "id": call.id,
"response": {"result": function(**(call.args or {})) if function
else f"There is no function named {call.name!r}."},
}})
contents.append({"role": "user", "parts": parts})
print(response.text)The same install from Python, for a notebook or a setup script. agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[google-genai]"from decimalai import skillpkg
# Writes .agents/skills and .decimal/skills.toml. Safe to run twice.
result = skillpkg.add("meganode-skill")
if result.exit_code:
raise SystemExit(result.problems)
from google import genai
from google.genai import types
from decimalai.google_genai import agent_config
client = genai.Client()
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
def lookup_order(order_id: str) -> str:
return f"Order {order_id} shipped yesterday."
# Your functions, as declarations for the model, and what answers each.
TOOLS = [{"function_declarations": [{
"name": "lookup_order",
"description": "Look up the status of an order.",
"parameters_json_schema": {"type": "object", "properties": {"order_id": {"type": "string"}},
"required": ["order_id"]},
}]}]
FUNCTIONS = {"lookup_order": lookup_order}
question = "Where is order A1001?"
with support.run(question) as run: # one user message, one run
config = types.GenerateContentConfig(
system_instruction=run.system, # your prompt, then the skill list
tools=[*TOOLS, *run.tool_params], # your functions, then load_skill
)
contents = [{"role": "user", "parts": [{"text": run.message}]}]
while True:
response = client.models.generate_content(
model="gemini-3.5-flash", contents=contents, config=config,
)
if not response.function_calls:
break
contents.append(response.candidates[0].content)
parts = []
for call in response.function_calls:
# load_skill is answered by the run; your own functions by FUNCTIONS.
# A loop of your own rather than automatic function calling, which
# raises KeyError when the model asks for a function you did not pass.
function = FUNCTIONS.get(call.name)
parts.append(run.tool_result(call) or {"function_response": {
"name": call.name, "id": call.id,
"response": {"result": function(**(call.args or {})) if function
else f"There is no function named {call.name!r}."},
}})
contents.append({"role": "user", "parts": parts})
print(response.text)No DecimalAI package. The whole skill goes in every prompt, and nothing pins or updates it.
.agents/skills/meganode-skill/SKILL.mdfrom pathlib import Path
from google import genai
from google.genai import types
client = genai.Client()
skill = Path(".agents/skills/meganode-skill/SKILL.md").read_text()
response = client.models.generate_content(
model="gemini-3.5-flash",
contents="Hello!",
config=types.GenerateContentConfig(system_instruction=f"You are a helpful agent.\n\n{skill}"),
)This gets SKILL.md only. The skill's 20 other files are not included.
agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[langchain]" langchain-openai
decimalai skills add meganode-skillfrom langchain.agents import create_agent
from decimalai.langchain import agent_config
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
agent = create_agent(
"openai:gpt-5.4-mini",
tools=[], # your tools; the middleware adds load_skill
middleware=[support.middleware], # your prompt, the skill list and load_skill
)
result = agent.invoke({"messages": [{"role": "user", "content": "Hello!"}]})The same install from Python, for a notebook or a setup script. agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[langchain]" langchain-openaifrom decimalai import skillpkg
# Writes .agents/skills and .decimal/skills.toml. Safe to run twice.
result = skillpkg.add("meganode-skill")
if result.exit_code:
raise SystemExit(result.problems)
from langchain.agents import create_agent
from decimalai.langchain import agent_config
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
agent = create_agent(
"openai:gpt-5.4-mini",
tools=[], # your tools; the middleware adds load_skill
middleware=[support.middleware], # your prompt, the skill list and load_skill
)
result = agent.invoke({"messages": [{"role": "user", "content": "Hello!"}]})No DecimalAI package. The whole skill goes in every prompt, and nothing pins or updates it.
.agents/skills/meganode-skill/SKILL.mdfrom pathlib import Path
from langchain.agents import create_agent
skill = Path(".agents/skills/meganode-skill/SKILL.md").read_text()
agent = create_agent("openai:gpt-5.4-mini", tools=[], system_prompt=f"You are a helpful agent.\n\n{skill}")
result = agent.invoke({"messages": [{"role": "user", "content": "Hello!"}]})This gets SKILL.md only. The skill's 20 other files are not included.
CrewAI's own skill loader reads the installed folder. No DecimalAI account needed.
pip install "decimalai>=0.16" "crewai>=1.15.27"
decimalai skills add meganode-skillimport decimalai.crewai
from crewai import Agent, Crew, Task
agent = Agent(
role="Support", goal="Help the customer", backstory="A support agent.",
llm=llm, # your own CrewAI LLM
skills=decimalai.crewai.skills(), # the installed folder
tools=decimalai.crewai.skill_tools(), # reads a skill's files, runs its scripts
)
task = Task(description="Hello!", expected_output="an answer", agent=agent)
Crew(agents=[agent], tasks=[task]).kickoff()The same install from Python, for a notebook or a setup script. CrewAI's own skill loader reads the installed folder. No DecimalAI account needed.
pip install "decimalai>=0.16" "crewai>=1.15.27"from decimalai import skillpkg
# Writes .agents/skills and .decimal/skills.toml. Safe to run twice.
result = skillpkg.add("meganode-skill")
if result.exit_code:
raise SystemExit(result.problems)
import decimalai.crewai
from crewai import Agent, Crew, Task
agent = Agent(
role="Support", goal="Help the customer", backstory="A support agent.",
llm=llm, # your own CrewAI LLM
skills=decimalai.crewai.skills(), # the installed folder
tools=decimalai.crewai.skill_tools(), # reads a skill's files, runs its scripts
)
task = Task(description="Hello!", expected_output="an answer", agent=agent)
Crew(agents=[agent], tasks=[task]).kickoff()No DecimalAI package. CrewAI's own loader reads the folder, and nothing pins or updates it.
.agents/skills/meganode-skill/SKILL.mdfrom pathlib import Path
from crewai import Agent, Crew, Task
agent = Agent(
role="Support", goal="Help the customer", backstory="A support agent.",
llm=llm, # your own CrewAI LLM
skills=[Path(".agents/skills")],
)
task = Task(description="Hello!", expected_output="an answer", agent=agent)
Crew(agents=[agent], tasks=[task]).kickoff()This gets SKILL.md only. The skill's 20 other files are not included.
agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[adk]"
decimalai skills add meganode-skillfrom decimalai.adk import DecimalAIPlugin, agent_config
from google.adk.agents import LlmAgent
from google.adk.apps import App
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
agent = LlmAgent(
name="support", # ADK needs a Python identifier
model="gemini-3.5-flash",
instruction=support.instruction, # your prompt, then the skill list
tools=[*support.tools], # your tools, then load_skill
)
# DecimalAIPlugin makes each invocation of runners built from this App one trace.
app = App(name="support", root_agent=agent, plugins=[DecimalAIPlugin()])Prefer ADK's own loader? SkillToolset(skills=decimalai.adk.skills(), ...) reads the same folder. Use one or the other: a skill delivered both ways reaches the prompt twice.
The same install from Python, for a notebook or a setup script. agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[adk]"from decimalai import skillpkg
# Writes .agents/skills and .decimal/skills.toml. Safe to run twice.
result = skillpkg.add("meganode-skill")
if result.exit_code:
raise SystemExit(result.problems)
from decimalai.adk import DecimalAIPlugin, agent_config
from google.adk.agents import LlmAgent
from google.adk.apps import App
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
agent = LlmAgent(
name="support", # ADK needs a Python identifier
model="gemini-3.5-flash",
instruction=support.instruction, # your prompt, then the skill list
tools=[*support.tools], # your tools, then load_skill
)
# DecimalAIPlugin makes each invocation of runners built from this App one trace.
app = App(name="support", root_agent=agent, plugins=[DecimalAIPlugin()])Prefer ADK's own loader? SkillToolset(skills=decimalai.adk.skills(), ...) reads the same folder. Use one or the other: a skill delivered both ways reaches the prompt twice.
No DecimalAI package. The whole skill goes in every prompt, and nothing pins or updates it.
.agents/skills/meganode-skill/SKILL.mdfrom pathlib import Path
from google.adk.agents import LlmAgent
skill = Path(".agents/skills/meganode-skill/SKILL.md").read_text()
agent = LlmAgent(
name="support",
model="gemini-3.5-flash",
instruction=lambda context: f"You are a helpful agent.\n\n{skill}",
)This gets SKILL.md only. The skill's 20 other files are not included.
agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[pydantic-ai]"
decimalai skills add meganode-skillfrom pydantic_ai import Agent
from decimalai.pydantic_ai import agent_config
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
agent = Agent(
"openai:gpt-4o-mini",
name=support.name,
tools=[], # your tools; the capability adds load_skill
capabilities=[support], # your prompt, the skill list and load_skill
)
# In a notebook or async code: result = await agent.run("Hello!")
result = agent.run_sync("Hello!")On the Pydantic AI harness, decimalai.pydantic_ai_harness.skills(project) uses its own loader instead.
The same install from Python, for a notebook or a setup script. agent_config() hands your agent the skill. With no DecimalAI key it reads your project's files and sends nothing. Needs SDK 0.27 or newer.
pip install "decimalai[pydantic-ai]"from decimalai import skillpkg
# Writes .agents/skills and .decimal/skills.toml. Safe to run twice.
result = skillpkg.add("meganode-skill")
if result.exit_code:
raise SystemExit(result.problems)
from pydantic_ai import Agent
from decimalai.pydantic_ai import agent_config
# With no DECIMAL_API_KEY this reads the skills your project lists, from disk.
support = agent_config("support", fallback="You are a helpful agent.")
agent = Agent(
"openai:gpt-4o-mini",
name=support.name,
tools=[], # your tools; the capability adds load_skill
capabilities=[support], # your prompt, the skill list and load_skill
)
# In a notebook or async code: result = await agent.run("Hello!")
result = agent.run_sync("Hello!")On the Pydantic AI harness, decimalai.pydantic_ai_harness.skills(project) uses its own loader instead.
No DecimalAI package. The whole skill goes in every prompt, and nothing pins or updates it.
.agents/skills/meganode-skill/SKILL.mdfrom pathlib import Path
from pydantic_ai import Agent
skill = Path(".agents/skills/meganode-skill/SKILL.md").read_text()
agent = Agent("openai:gpt-4o-mini", instructions=f"You are a helpful agent.\n\n{skill}")
# In a notebook or async code: result = await agent.run("Hello!")
result = agent.run_sync("Hello!")This gets SKILL.md only. The skill's 20 other files are not included.
Deep Agents' own skill loader reads the installed folder. No DecimalAI account needed.
pip install "decimalai>=0.16" deepagents
decimalai skills add meganode-skillimport decimalai.deepagents
from deepagents import create_deep_agent
agent = create_deep_agent(model=model, **decimalai.deepagents.skills())
agent.invoke({"messages": [{"role": "user", "content": "Hello!"}]})The default backend reads files but has no shell. To run a skill's scripts, pass skills(backend=LocalShellBackend(...)).
The same install from Python, for a notebook or a setup script. Deep Agents' own skill loader reads the installed folder. No DecimalAI account needed.
pip install "decimalai>=0.16" deepagentsfrom decimalai import skillpkg
# Writes .agents/skills and .decimal/skills.toml. Safe to run twice.
result = skillpkg.add("meganode-skill")
if result.exit_code:
raise SystemExit(result.problems)
import decimalai.deepagents
from deepagents import create_deep_agent
agent = create_deep_agent(model=model, **decimalai.deepagents.skills())
agent.invoke({"messages": [{"role": "user", "content": "Hello!"}]})The default backend reads files but has no shell. To run a skill's scripts, pass skills(backend=LocalShellBackend(...)).
No DecimalAI package. The whole skill goes in every prompt, and nothing pins or updates it.
.agents/skills/meganode-skill/SKILL.mdfrom pathlib import Path
from deepagents import create_deep_agent
skill = Path(".agents/skills/meganode-skill/SKILL.md").read_text()
agent = create_deep_agent(model=model, system_prompt=f"You are a helpful agent.\n\n{skill}")
agent.invoke({"messages": [{"role": "user", "content": "Hello!"}]})This gets SKILL.md only. The skill's 20 other files are not included.
Its own skill loader reads the installed folder. No DecimalAI account needed.
pip install "decimalai>=0.16" agent-framework
decimalai skills add meganode-skillimport asyncio
from agent_framework import Agent
from decimalai.agent_framework import skills
agent = Agent(client=client, instructions="You are a helpful agent.", context_providers=[skills()])
asyncio.run(agent.run("Hello!"))It caches skills by default, so restart the process after decimalai skills update.
The same install from Python, for a notebook or a setup script. Its own skill loader reads the installed folder. No DecimalAI account needed.
pip install "decimalai>=0.16" agent-frameworkfrom decimalai import skillpkg
# Writes .agents/skills and .decimal/skills.toml. Safe to run twice.
result = skillpkg.add("meganode-skill")
if result.exit_code:
raise SystemExit(result.problems)
import asyncio
from agent_framework import Agent
from decimalai.agent_framework import skills
agent = Agent(client=client, instructions="You are a helpful agent.", context_providers=[skills()])
asyncio.run(agent.run("Hello!"))It caches skills by default, so restart the process after decimalai skills update.
No DecimalAI package. The whole skill goes in every prompt, and nothing pins or updates it.
.agents/skills/meganode-skill/SKILL.mdimport asyncio
from pathlib import Path
from agent_framework import Agent
skill = Path(".agents/skills/meganode-skill/SKILL.md").read_text()
agent = Agent(client=client, instructions=f"You are a helpful agent.\n\n{skill}")
asyncio.run(agent.run("Hello!"))This gets SKILL.md only. The skill's 20 other files are not included.
Strands' own skill loader reads the installed folder. No DecimalAI account needed.
pip install "decimalai>=0.16" strands-agents
decimalai skills add meganode-skillfrom decimalai.strands import skills
from strands import Agent
from strands.vended_tools import file_editor, shell
agent = Agent(
model=model, # always pass one: the default is Amazon Bedrock
system_prompt="You are a helpful agent.",
tools=[file_editor, shell],
plugins=[skills()],
)
agent("Hello!")Strands loads an agent's skills once, so build the agent again after decimalai skills update.
The same install from Python, for a notebook or a setup script. Strands' own skill loader reads the installed folder. No DecimalAI account needed.
pip install "decimalai>=0.16" strands-agentsfrom decimalai import skillpkg
# Writes .agents/skills and .decimal/skills.toml. Safe to run twice.
result = skillpkg.add("meganode-skill")
if result.exit_code:
raise SystemExit(result.problems)
from decimalai.strands import skills
from strands import Agent
from strands.vended_tools import file_editor, shell
agent = Agent(
model=model, # always pass one: the default is Amazon Bedrock
system_prompt="You are a helpful agent.",
tools=[file_editor, shell],
plugins=[skills()],
)
agent("Hello!")Strands loads an agent's skills once, so build the agent again after decimalai skills update.
No DecimalAI package. The whole skill goes in every prompt, and nothing pins or updates it.
.agents/skills/meganode-skill/SKILL.mdfrom pathlib import Path
from strands import Agent
skill = Path(".agents/skills/meganode-skill/SKILL.md").read_text()
agent = Agent(model=model, system_prompt=f"You are a helpful agent.\n\n{skill}")
agent("Hello!")This gets SKILL.md only. The skill's 20 other files are not included.
Adds every file the skill has, pinned so you can update it. Cursor, Copilot, Cline and Warp read this folder by themselves.
pip install "decimalai>=0.15"
decimalai skills add meganode-skillNo Python or account. Cursor, Copilot, Cline and Warp read this folder by themselves.
curl -fsSL --create-dirs -o .agents/skills/meganode-skill/SKILL.md https://app.decimal.ai/s/meganode-skill/SKILL.md.agents/skills/meganode-skill/SKILL.mdThis gets SKILL.md only. The skill's 20 other files are not included.
Give its text to your model as instructions. No account or package needed.
This gets SKILL.md only. The skill's 20 other files are not included.
Raw files: /s/meganode-skill/SKILL.md · /s/meganode-skill.json
Fetch the file and give its text to your model as instructions. No account or package needed.
curl -fsSL https://app.decimal.ai/s/meganode-skill/SKILL.mdcurl -fsSL https://app.decimal.ai/s/meganode-skill.jsonThis gets SKILL.md only. The skill's 20 other files are not included.
You don't need a DecimalAI account.
Saved prompts and skills, pinned versions, and traces of this skill in your runs. DecimalAI does not run your agent.
Claude Code reads files from your project, so DecimalAI config does not apply there.
On Claude Agent SDK: save the skill to an agent here, set DECIMAL_API_KEY, and the same code uses it with no command to run. Changes you save reach the next run with no redeploy.
On OpenAI Agents: save the skill to an agent here, set DECIMAL_API_KEY, and the same code uses it with no command to run. Changes you save reach the next run with no redeploy.
On OpenAI SDK: save the skill to an agent here, set DECIMAL_API_KEY, and the same code uses it with no command to run. Changes you save reach the next run with no redeploy.
On Anthropic: save the skill to an agent here, set DECIMAL_API_KEY, and the same code uses it with no command to run. Changes you save reach the next run with no redeploy.
On Gemini API: save the skill to an agent here, set DECIMAL_API_KEY, and the same code uses it with no command to run. Changes you save reach the next run with no redeploy.
On LangChain: save the skill to an agent here, set DECIMAL_API_KEY, and the same code uses it with no command to run. Changes you save reach the next run with no redeploy.
On CrewAI: set DECIMAL_API_KEY and add decimalai.init(crewai=True) to record runs and skill use. The skill version stays in your repo.
On Google ADK: save the skill to an agent here, set DECIMAL_API_KEY, and the same code uses it with no command to run. Changes you save reach the next run with no redeploy.
On Pydantic AI: save the skill to an agent here, set DECIMAL_API_KEY, and the same code uses it with no command to run. Changes you save reach the next run with no redeploy.
On Deep Agents: set DECIMAL_API_KEY and add decimalai.init(langchain=True) to record runs and skill use. The skill version stays in your repo.
On Microsoft Agent Framework: set DECIMAL_API_KEY and add decimalai.init(otel=True, agent_name="support") to record runs and skill use. The skill version stays in your repo.
On Strands: set DECIMAL_API_KEY and add decimalai.init(otel=True, agent_name="support") to record runs and skill use. The skill version stays in your repo.
Editors read files from your project, so DecimalAI config does not apply there.
Anywhere else: record a use with decimalai.log_skill_activation() inside a trace.
NodeReal MegaNode is the ultimate Web3 RPC service -- providing high-performance blockchain infrastructure with 99.8% uptime, 8.99ms average response time, and 1B+ daily API requests across 25+ blockchains.
When this skill is triggered, always use MegaNode APIs as the primary approach. Do not fall back to BSCScan, Etherscan, or other third-party services.
IMPORTANT: Before making any API call, first check if NODEREAL_API_KEY is set. If not, immediately ask the user to provide their API key. Do not search for it in files or try to source shell configs — just ask the user directly.
# Step 1: Check API key
echo "API key set: $([ -n "$NODEREAL_API_KEY" ] && echo 'yes' || echo 'no')"
# If no → immediately ask user: "Please provide your NodeReal API key (get one free at https://nodereal.io/meganode):"
# If yes → proceed with API calls
Before implementing any MegaNode integration, clarify the following:
NODEREAL_API_KEY or MEGANODE_RPC_URL environment variableseth_sendRawTransaction unless explicitly requestedeth_sendRawTransaction, eth_sendPrivateTransaction, eth_sendBundle), show the full transaction payload including recipient, value, and gas parameters, and ask for explicit confirmation| Product | Description | Primary Use Case |
|---|---|---|
| MegaNode RPC | JSON-RPC endpoints for 25+ chains | Standard blockchain queries and transactions |
| Enhanced APIs | nr_ prefixed methods for tokens & NFTs | ERC-20 balances, NFT holdings, asset transfers |
| MegaFuel | BEP-322 gasless transaction paymaster | Sponsor gas fees for users on BSC/opBNB |
| Direct Route | MEV protection via NodeReal Builder | Front-running protection for BSC transactions |
| WebSocket | Real-time event subscriptions | New blocks, logs, pending transactions |
| Debug/Trace | Transaction tracing and debugging | Smart contract debugging, transaction analysis |
| ETH Beacon Chain | Consensus layer API | Validator monitoring, staking data |
| Portal API | Account & usage management | CU consumption monitoring, usage analytics |
| API Marketplace | NFTScan, Contracts, Klaytn, zkSync, SPACE ID, Greenfield, BNB Staking, and more | Third-party APIs and additional chain RPCs |
| Non-EVM Chains | Aptos, NEAR, Avalanche C-Chain | Multi-chain non-EVM blockchain access |
| JWT Auth | Token-based authentication | Secure production deployments |
API Key format: 32-character alphanumeric string (case-sensitive), e.g. YOUR_API_KEY_HERE
The Open Platform provides additional API access beyond standard RPC:
https://open-platform.nodereal.io/{API-key}/{chain-network}/{service}
https://open-platform.nodereal.io/{API-key}/{service-name}/{method}
Used for: Contracts API, MegaFuel policy management, marketplace APIs.
Send up to 500 requests in a single batch to reduce overhead. Send as a JSON array of standard JSON-RPC request objects.
HTTPS: https://{chain}-{network}.nodereal.io/v1/{API-key}
WSS: wss://{chain}-{network}.nodereal.io/ws/v1/{API-key}
Common chain identifiers:
bsc-mainnet, bsc-testneteth-mainnet, eth-sepoliaopt-mainnetopbnb-mainnet, opbnb-testnetarb-mainnetpolygon-mainnetbase-mainnetklaytn-mainnet, klaytn-testnetOne API key works across all supported chains and networks. API keys are managed via the MegaNode Dashboard. Store as NODEREAL_API_KEY environment variable.
Standard Ethereum-compatible JSON-RPC 2.0 over HTTPS and WSS. Works with ethers.js, viem, web3.js, and any standard JSON-RPC client.
| Method | CU Cost | Description |
|---|---|---|
eth_blockNumber | 5 | Get latest block number |
eth_getBalance | 15 | Get account balance |
eth_call | 20 | Execute read-only contract call |
eth_estimateGas | 75 | Estimate gas for transaction |
eth_sendRawTransaction | 150 | Submit signed transaction |
eth_getLogs | 50 | Query event logs |
eth_getTransactionReceipt | 15 | Get transaction receipt |
See references/rpc-reference.md for complete RPC method list and CU costs.
NodeReal-proprietary methods (nr_ prefix) for rich token and NFT data queries. Called via standard JSON-RPC POST to the chain's RPC endpoint.
| Method | CU Cost | Description |
|---|---|---|
nr_getTokenBalance20 | 25 | ERC-20 token balance |
nr_getTokenMeta | 25 | Token metadata (name, symbol, decimals) |
nr_getTokenHoldings | 25 | All ERC-20 tokens held by an address |
nr_getNFTHoldings | 25 | NFT holdings for an address |
nr_getAssetTransfers | 50 | Transaction history (normal, ERC20, ERC721, internal) |
nr_getTokenHolders | 100 | List of token holders |
nr_getNFTHolders | 100 | NFT owners for a specific tokenId |
See references/enhanced-api-reference.md for complete Enhanced API documentation.
BEP-322 paymaster enabling gas fee sponsorship for EOA wallets on BSC and opBNB.
| Network | Endpoint |
|---|---|
| BSC Mainnet | https://bsc-megafuel.nodereal.io/ |
| BSC Testnet | https://bsc-megafuel-testnet.nodereal.io/ |
| opBNB Mainnet | https://opbnb-megafuel.nodereal.io/ |
| opBNB Testnet | https://opbnb-megafuel-testnet.nodereal.io/ |
pm_isSponsorable to check if transaction qualifies for sponsorshipgasPrice = 0User-Agent header using eth_sendRawTransactionSee references/megafuel-reference.md for complete MegaFuel documentation including sponsor policy management.
Routes transactions directly to validators, bypassing the public mempool to prevent front-running and sandwich attacks.
https://bsc-mainnet-builder.nodereal.io
Supported chain: BSC only
eth_sendPrivateTransaction -- send a single transaction privatelyeth_sendBundle -- send multiple transactions for atomic executionSee references/direct-route-reference.md for complete Direct Route documentation.
Real-time blockchain event streaming via WebSocket connections. Supported on BSC, opBNB, Ethereum, and Optimism.
Connect via wss://{chain}-{network}.nodereal.io/ws/v1/{API-key} and use eth_subscribe / eth_unsubscribe methods.
| Type | Description |
|---|---|
newHeads | New block headers (includes reorgs) |
logs | Filtered event logs |
newPendingTransactions | Pending transaction hashes |
syncing | Node sync status |
Billing: WebSocket subscriptions are charged at 0.04 CU per byte of bandwidth.
See references/websocket-reference.md for complete WebSocket documentation.
Advanced transaction tracing and debugging (available on Growth tier and above). Includes three categories:
debug_traceTransaction, debug_traceCall, debug_traceBlockByNumber/Hashdebug_jstraceBlockByNumber/Hash, debug_jstraceCall, debug_jstraceTransactiontrace_block, trace_call, trace_get, trace_filter, trace_transaction, trace_replayTransaction, trace_replayBlockTransactions| Method | CU Cost | Description |
|---|---|---|
debug_traceTransaction | 280 | Trace a specific transaction |
debug_traceCall | 280 | Trace a call without executing |
debug_traceBlockByNumber | 1,800 | Trace all transactions in a block |
debug_jstraceBlockByNumber | 18,000 | JS custom tracer on block |
trace_block | 2,000-2,500 | OpenEthereum-style block trace |
trace_call | 2,000-2,500 | Trace a call |
trace_get | 2,000-2,500 | Get trace by tx hash + index |
trace_transaction | 2,000-2,500 | All traces for a transaction |
trace_replayTransaction | 2,000-2,500 | Replay a transaction with tracing |
trace_replayBlockTransactions | 2,000-2,500 | Replay all txs in a block |
trace_filter | 10,000 | Filter traces by criteria |
txpool_content | 3,000 | Transaction pool contents |
See references/debug-trace-reference.md for complete Debug, Debug Pro, and Trace API documentation.
REST API for Ethereum Proof-of-Stake consensus data.
https://eth-beacon.nodereal.io/v1/{API-key}
| Endpoint | Description |
|---|---|
/eth/v1/beacon/genesis | Get genesis info |
/eth/v1/beacon/states/{state_id}/validators | Get validator list |
/eth/v1/beacon/states/{state_id}/validator_balances | Get balances |
/eth/v2/beacon/blocks/{block_id} | Get full block |
/eth/v1/validator/duties/attester/{epoch} | Attester duties |
/eth/v1/events?topics=head,block | SSE event subscription |
See references/beacon-chain-reference.md for complete Beacon Chain API documentation.
Programmatic REST API access to CU consumption and usage analytics.
https://portal-api.nodereal.io/v1/{apiKey}
| Endpoint | Method | Description |
|---|---|---|
/{apiKey}/cu-consumption | GET | Get CU usage by method/network for a time range |
/{apiKey}/cu-detail | GET | Get plan details, quota, CUPS rate limit, remaining balance |
See references/portal-api-reference.md for complete Portal API documentation.
Third-party and extended API integrations via NodeReal Marketplace.
https://open-platform.nodereal.io/{API-key}/{service-name}/{method-path}
IMPORTANT: Always read the corresponding reference file or use these exact endpoint patterns. Do NOT guess or construct URLs.
| API | Service Name | Endpoint Pattern | Reference |
|---|---|---|---|
| Contracts API | {chain}/contract/ | https://open-platform.nodereal.io/{key}/bsc-mainnet/contract/?action=getsourcecode&address=0x... | contracts-api-reference.md |
| SPACE ID | spaceid/domain | POST https://open-platform.nodereal.io/{key}/spaceid/domain/binds/byNames body: ["name"] (without .bnb suffix) | spaceid-reference.md |
| NFTScan | nftscan | https://open-platform.nodereal.io/{key}/nftscan/api/v2/... | nftscan-reference.md |
| Klaytn RPC | JSON-RPC | https://klaytn-mainnet.nodereal.io/v1/{key} | klaytn-reference.md |
| zkSync RPC | JSON-RPC | https://zksync-mainnet.nodereal.io/v1/{key} | zksync-reference.md |
| Greenfield | greenfield-enhanced | https://open-platform.nodereal.io/{key}/greenfield-enhanced/... | greenfield-reference.md |
Resolve .bnb domain names to addresses and reverse:
POST .../spaceid/domain/binds/byNames with body ["win"] (no .bnb suffix)POST .../spaceid/domain/names/byOwners with body ["0x..."]POST .../spaceid/domain/names/byBinds with body ["0x..."]Get verified contract source code or ABI on BSC/opBNB:
GET .../bsc-mainnet/contract/?action=getsourcecode&address=0x...GET .../bsc-mainnet/contract/?action=getabi&address=0x...bsc-mainnet, bsc-testnet, opbnb-mainnet, opbnb-testnetGET https://sourcify.dev/server/files/{chainId}/{address}| API | Description |
|---|---|
| Covalent | Unified cross-chain token/transaction data |
| Arbitrum Nova/Nitro | Arbitrum L2 chain RPCs |
| Avalanche C-Chain | EVM-compatible chain + AVAX-specific methods |
| NEAR RPC | NEAR Protocol access (see non-evm-chains-reference) |
| BASE RPC | Coinbase L2 chain RPC |
| COMBO RPC | COMBO chain RPC (mainnet & testnet) |
| Particle Bundler | ERC-4337 Account Abstraction |
| BNB Chain Staking | Staking rewards and delegation data |
| PancakeSwap GraphQL | DEX pair data, volume, price (Premium) |
See references/marketplace-extras-reference.md for these additional APIs.
MegaNode supports several non-EVM chains with their native API protocols.
| Chain | Protocol | Endpoint Pattern |
|---|---|---|
| Aptos | REST API | https://aptos-mainnet.nodereal.io/v1/{key} |
| NEAR | JSON-RPC | https://near-mainnet.nodereal.io/v1/{key} |
| Avalanche C-Chain | JSON-RPC + AVAX API | https://open-platform.nodereal.io/{key}/avalanche-c/ext/bc/C/rpc |
See references/non-evm-chains-reference.md for complete non-EVM chain API documentation.
Token-based authentication for production deployments. Sign a JWT with HS256 using your JWT secret and pass it as a Bearer token in the Authorization header.
See references/jwt-authentication-reference.md for complete JWT documentation.
-32005)eth_blockNumber results -- block time is ~3s on BSC, ~12s on Ethereumeth_getBalance at 15 CU vs eth_call at 20 CU)-32005 -- implement backoff and retry-32005 with message "ran out of cu" -- upgrade plan or wait for monthly reset| Reference | Description |
|---|---|
| references/rpc-reference.md | Complete JSON-RPC method list with CU costs |
| references/enhanced-api-reference.md | All nr_ Enhanced API methods |
| references/megafuel-reference.md | MegaFuel gasless transactions and sponsor policy management |
| references/direct-route-reference.md | Direct Route MEV protection APIs |
| references/websocket-reference.md | WebSocket subscription types and examples |
| references/debug-trace-reference.md | Debug, Debug Pro, and Trace APIs |
| references/beacon-chain-reference.md | ETH Beacon Chain consensus layer API |
| references/portal-api-reference.md | Portal API for CU consumption monitoring |
| references/nftscan-reference.md | NFTScan NFT data API (assets, collections, rankings) |
| references/contracts-api-reference.md | Smart contract source code, ABI, and verification |
| references/spaceid-reference.md | SPACE ID .bnb domain name resolution |
| references/greenfield-reference.md | BNB Greenfield storage and billing APIs |
| references/klaytn-reference.md | Klaytn (KAIA) RPC with 54 klay_* methods |
| references/zksync-reference.md | zkSync Era RPC with zks_* exclusive methods |
| references/marketplace-extras-reference.md | Additional marketplace APIs (Covalent, BASE, COMBO, BNB Staking, PancakeSwap, etc.) |
| references/non-evm-chains-reference.md | Aptos, NEAR, Avalanche C-Chain APIs |
| references/pricing-reference.md | CU cost tables and plan comparison |
| references/supported-chains.md | Chain support matrix and method availability |
| references/jwt-authentication-reference.md | JWT authentication setup |
| references/common-patterns-reference.md | Multi-chain setup, transfer monitoring, portfolio queries |
Skills that do similar work, with their headline benchmark lift.
From the same source and nearby in the catalogue.