AgentStack
SKILL verified MIT Self-run

Starknet Network Facts

skill-keep-starknet-strange-starknet-agentic-starknet-network-facts · by keep-starknet-strange

Starknet network-level constraints and protocol facts that impact contract safety and agent reasoning.

No reviews yet
0 installs
9 views
0.0% view→install

Install

$ agentstack add skill-keep-starknet-strange-starknet-agentic-starknet-network-facts

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Starknet Network Facts? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Starknet Network Facts

When to Use

  • Reasoning about chain behavior assumptions in contract logic.
  • Validating time, fee, and transaction-version dependencies.

When NOT to Use

  • Contract implementation details unrelated to chain behavior.

Quick Start

  1. Identify assumptions in code about tx versions, fee tokens, and timing.
  2. Verify assumptions against current network behavior before release.
  3. Add tests for boundary behavior tied to block timing or tx metadata.

Core Focus

  • transaction version expectations
  • fee token and bounds assumptions
  • block-time-sensitive logic
  • sequencer and inclusion model implications

Workflow

  • Main network-facts workflow: [default workflow](workflows/default.md)

References

  • Module index: [references index](references/README.md)

starknet.js Example

import { RpcProvider } from "starknet";

const provider = new RpcProvider({ nodeUrl: process.env.STARKNET_RPC! });
const latest = await provider.getBlock("latest");

console.log({
  blockNumber: latest.block_number,
  l1GasPrice: latest.l1_gas_price,
  l2GasPrice: latest.l2_gas_price,
});

Error Codes and Recovery

| Code | Meaning | Recovery | | --- | --- | --- | | SNF-001 | RPC/network fact unavailable | Retry with a fallback RPC and compare outputs before acting. | | SNF-002 | Conflicting tx-version assumption | Re-check references and update guards/tests for current tx version behavior. | | SNF-003 | Fee-token assumption mismatch | Add explicit fee-token checks and fee-bound regression tests. |

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.