Causal Abel
Abel CAP causal exploration skill. Use for direct CAP graph questions and for off-graph life or decision questions that should be routed through market proxy...
Like a lobster shell, security has layers — review code before you run it.
License
Runtime requirements
SKILL.md
Use this skill for cause-effect questions on the Abel CAP wrapper. Financial markets are the signal layer, not the product: the CAP server exposes finance and crypto price or volume nodes, and those nodes can be used either directly or as proxy signals for larger real-world questions.
Authorization Gate
Authorization is a required entry step for this skill when it will call Abel APIs on the user's behalf.
- Before any live Abel CAP or business API call, check whether an Abel user API key is already available in session state,
--api-key, or.env.skills. - If no key is available, stop and follow
references/setup-guide.mdimmediately. Do not start CAP probing, capability inspection, or any other live API call first. - The agent entrypoint is
GET https://api.abel.ai/echo/web/credentials/oauth/google/authorize/agent. - Return only the resulting
data.authUrlto the user, storedata.resultUrlordata.pollToken, and poll until the result isauthorized,failed, or expired. - Never ask the user to paste an email address, OAuth code, or raw API key when the handoff flow can obtain the key directly.
When To Use
Use causal-abel when the user needs causal structure, reachability, intervention meaning, or capability inspection on the Abel CAP surface.
Typical triggers:
- what is driving a node
- why a node moved
- which nodes matter around a node
- whether one node can reach another
- what changes under intervention
- what a counterfactual preview implies
- what the server supports at CAP core versus
extensions.abel.* - off-graph human questions that should be routed through market proxies
Do not use this skill for:
- pure quote lookups
- generic news summaries
- raw node dumps with no causal question
- unrelated coding or repo tasks
How To Use
-
Check authorization state before any live API call.
- If
ABEL_API_KEYis missing from session state,--api-key, and.env.skills, start the OAuth handoff fromreferences/setup-guide.mdfirst. - Treat missing credentials as a hard stop for live Abel API usage, not as a minor warning.
- If
-
Start from the user's causal question and the live CAP surface.
- Default CAP target:
https://cap.abel.aiunless the user provides anotherbase_url. https://cap-sit.abel.aiis the SIT variant when you need the staging environment.- Treat
https://api.abel.ai/echo/as the OAuth and business API host fromreferences/setup-guide.md, not as the default public CAP probe target. - Use the bundled probe path first for deterministic execution.
- Default CAP target:
-
Classify the task.
- First do user-intent inversion: infer the result the user actually wants, then map that intent to direct graph or proxy-routed analysis.
capability_discovery: what the server exposesdirect_graph: direct node, path, blanket, or intervention questionproxy_routed: real-world question that must be represented through market proxiesconvergence_read: broad proxy-routed theme or comparison question that needs multiple anchors to separate hubs from noise
-
Read structure before telling a story.
- Start with local or path structure first.
- Move to observational, intervention, or preview surfaces only after the structural question is clear.
- Pick one intent-first workflow and stay on it:
driver_explanation,reachability_check,intervention_effect,counterfactual_read, orcapability_audit. - Do not stack overlapping local-structure verbs by default. Start with one core structural read, then escalate only if a specific open question remains.
- For
proxy_routedandconvergence_read, use a graph-search loop only when it reduces a named uncertainty. Search is there to explain a graph edge, path, or proxy dimension, not to replace graph grounding.
-
Normalize node inputs before any live probe.
- If the user already gives a legal Abel node id, keep it as is.
- If the user gives a bare ticker such as
NVDAorSPOT, default to<ticker>_closeunless the question is explicitly about trading activity or volume. - If the user gives a company or proxy phrase such as
Spotifyormusic streaming, map it to a real ticker first; do not probe a free-form phrase. - If you cannot honestly map the phrase to a ticker, stop and say the live CAP call is not grounded enough yet.
-
For capability discovery, avoid redundant full-surface dumps.
- Start with
meta.capabilitieswhen the question is "what surfaces or tiers exist here?" - Move to
meta.methodsonly when you need invocation metadata such asargumentsorresult_fields. - If you only care about a few verbs, prefer targeted
meta.methodsqueries withparams.verbsinstead of pulling the whole registry and filtering it afterward. - From the repo root, prefer the bundled probe command
python causal-abel/scripts/cap_probe.py methods observe.predict traverse.parentsover ad hoccurlpayloads when you need a stable method read.
- Start with
-
Use decision gates, not verb dumps.
- For
driver_explanation, start withtraverse.parentsorgraph.neighbors(scope=parents), then addgraph.markov_blanketonly if direct drivers are still unclear. - For
reachability_check, start withgraph.pathson the specific proposed source and target. Useextensions.abel.validate_connectivityonly when screening a small candidate set is more honest than many repeated path probes. - For
intervention_effect, require a minimal structural confirmation first. Default tograph.paths(treatment, outcome), and callintervene.doonly if that path check succeeds. Usetraverse.parents(outcome)only for a narrowly direct-driver question. - For
proxy_routed, first pick 3-5 honest proxy anchors, then ask which single edge, path, or proxy dimension needs mechanism evidence next. If search tools are available, followreferences/search-loop.mdbefore every search hop. - For
convergence_read, run independent structural reads on 3-5 anchors, then look for repeated nodes or repeated proxy dimensions before narrating a theme. Usereferences/layered-routing.mdwhen the topic spans supply-chain or economic layers. - For
capability_audit, do not pair a fullmeta.capabilitiesdump with a fullmeta.methodsdump unless the user explicitly needs both views. Inventory first, then targeted method detail for the verbs that remain in question. - Only upgrade from CAP core to
extensions.abel.*when CAP core cannot answer the user's actual question. - After each call, ask what single open causal question remains. If none remains, stop.
- In proxy-heavy work, stop early when the same anchors keep repeating, search results stay low-signal, or the remaining uncertainty is a future event rather than a currently answerable structural question.
- For
-
Answer in layers.
- Lead with a plain-language conclusion.
- Then say which CAP surface supports it.
- Then state the caveats that materially change interpretation.
- When organizing a fuller write-up, follow
assets/report-template.md: start from the user's original question, map that question to graph nodes, then separate each verb's result from what that result means for the question. - In proxy-routed reports, separate graph facts, searched mechanisms, and inference. Do not let narrative blur those layers.
-
Stay semantically honest.
- Distinguish CAP core from Abel extensions when that matters.
- Treat proxy-routed answers as market-signal reads, not direct models of people or life outcomes.
- Treat
observe.predictas observational,intervene.doas intervention, andcounterfactual_previewas preview-only. - For region-specific questions, match the search language to the region when search is needed, then verify key claims with higher-quality sources before using them as mechanism evidence.
Proxy And Search Discipline
- Search is optional support, not the center of the skill. CAP structure stays primary.
- Before any search call, be able to name either the exact edge or the exact proxy dimension being explained.
- If you cannot state that edge or dimension, go back to graph grounding first.
- Use multi-anchor convergence for broad comparisons, sector-like themes, or life decisions with several competing dimensions.
- Use layered routing when only mega-cap anchors would flatten the story; prefer anchors that cover distinct supply, demand, platform, financing, or policy roles.
- For complex proxy-routed questions, pressure-test the answer before finalizing: surface the strongest counter-evidence, the weakest structural link, and the biggest unresolved assumption.
Install And Authorization
If the user installs this skill, asks to connect Abel, or the workflow is missing an Abel API key, follow references/setup-guide.md exactly.
- Start the Abel agent OAuth handoff immediately instead of asking for manual credentials.
- Return
data.authUrlto the user, not the/authorize/agentAPI URL. - Store
data.resultUrlordata.pollTokenand poll until the result isauthorized,failed, or expired. - Persist the resulting
data.apiKeyin session state and.env.skillswhen local storage is available. - Do not continue to live CAP probing until that key is present.
- Never ask the user to paste an email address or Google OAuth code.
Detailed References
- Detailed routing logic, proxy dimensions, narration rules, and semantic guardrails:
references/question-routing.md - User-intent inversion from desired answer to graph mapping and capability choice:
references/inversion-flow.md - Report organization for results and meaning:
assets/report-template.md - Edge-anchored search protocol and graph-search loop discipline:
references/search-loop.md - Layered proxy routing and convergence anchor selection:
references/layered-routing.md - OAuth install flow, polling behavior, and API key reuse:
references/setup-guide.md - Probe script commands and reusable examples:
references/probe-usage.md - Capability layering and progressive disclosure:
references/capability-layers.md
Files
11 totalComments
Loading comments…
