/quandora:factor-miningfrom quandora
Creates, validates, backtests, and manages Quandora Factor Mining research. Use for factor authoring, reuse, and result delivery via the authenticated quandora connection.
Ships in quandora. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Follow Connection and Security for automatic recovery and the once-per-session release check; preserve existing update authority. After a failed mutating call, follow Failed mutations. Follow Research intent and evidence for backtest/forward scope, capability-aware conclusions and authorization-preserving handoffs. Follow Research notebook to read prior research before deciding, write the hypothesis with each decision and record a conclusion after each result.
This skill owns Factor Mining research creation, caller-owned Factor family/history reads, Factor
backtests, and Factor Result Bundle delivery through the authenticated quandora
connection.
Route bare available/eligible/selectable Factor requests to $strategy-building; it calls only
list_eligible_strategy_factors. Route deep diagnosis, comparison, or optimization of an existing
Factor result to $factor-analysis; carry its chosen controlled experiment back here for creation
and submission within the research goal.
For named objects, follow Name discovery to resolve exact identities.
Use Research playbooks for goal-based call orders and similarity decisions.
Use only the minimum relevant subset:
get_factor_mining_status, list_factor_mining_tasks.list_owned_factor_families, get_factor_family_history.get_research_context, list_research_notes, get_research_note,
record_research_conclusion.get_factor_plugin_contract, then submit_factor_research, which
creates the session, checks the contract, reads duplicate context, validates and submits.create_factor_task_session, create_custom_factor_session,
validate_factor_plugin, get_factor_dedup_context, submit_factor_backtest finish a session
created before this workflow; never start new research with them.continue_factor_backtest, wait_for_runs.run_factor_version.get_factor_reversal.download_result_bundle with kind: "factor" and the terminal job ID.get_quandora_guidance,
check_quandora_plugin_version.Tool names in this Skill are canonical actions on the configured quandora MCP
dependency. Let the host resolve its required server-qualified form. If an action is absent, do not
invent an alias or use another service path.
Use check_quandora_plugin_version only for a requested version diagnostic or a plausible
package/server mismatch; never as a mandatory entry probe.
Do not load Result Bundle transport rules for a list/history-only request.
$strategy-building without calling a Factor Mining status or inventory action.For a normal creation workflow, call get_factor_mining_status once after routing. Do not call it
for a completed list/history-only request when the relevant read is already available.
Call list_owned_factor_families for caller-owned reusable Factor families; it is not the Strategy
eligible pool. Use a supplied name or keyword as query and exact public status, availability, or
task identity as filters; omit them only for a browse request. Show one bounded page and never
hydrate every row. A failed list is not an empty inventory and does not authorize a history
fallback.
Choose one exact returned factor_family_id from the research context and candidates, then call
get_factor_family_history with it. Record the reason in the decision's research_note: hypothesis
for a new direction, change_summary otherwise. To narrow the versions or runs view to one
immutable Factor, also pass that row's factor_id. Every history row names the Family factor_family_id, the immutable
Factor factor_id, and a run factor_run_id (equal to its job_id).
Default to summary; request only the needed branches, versions, or runs view. Preserve
opaque IDs and page tokens exactly. Never substitute a job, run, plugin, session, Strategy
admission, or cached identifier. History is read-only and does not authorize source editing or
resubmission. A continuation keeps the same query, filters, archive mode, and page size and copies
the returned opaque page token byte-for-byte.
When controlled history/result semantics are needed, use get_quandora_guidance only with the
known guide operation.factor.history.read or operation.result.read and only supported sections.
Use metric.backtest.grade only for its capability semantics. Guidance never creates a tool input
or mutation authority.
Read get_research_context with stage: "factor" first and decide whether this work improves an
existing thread (exact parent factor_version) or starts a new direction. Write the note in the
user's language and begin hypothesis with a one-sentence topic of at most 60 characters.
Always include references: exact runs/versions used from context, history or similarity reads,
including an existing Factor used to distinguish the new idea. Empty is valid only with no
Quandora evidence; an uncovered idea does not make the evidence list empty.
For public work, call list_factor_mining_tasks, show only exact returned task name and category,
and keep task_id internal. Choose from the research context and returned candidates, and record
why in the decision's research_note (hypothesis for a new direction, change_summary otherwise).
Treat the selected public Task's returned research fields as one live research thesis for mechanism,
feature, regime, risk, and target-behavior choices; do not reduce construction to name/category or copy those fields into this Skill. Submit
with the exact selected task.
For custom work, classification and construction follow
Factor Plugin Authoring. The public input is the canonical flat
custom-session payload; never send a hand-built task_payload.
After the contract exists:
plugin.py without local execution;submit_factor_research once with the task or custom fields, source, filename, the
contract schema_version you authored against as contract_version, and a research_note;failed_step, repair only that step's safe structured diagnostics and submit
the corrected source again; report its returned duplicate evidence instead of resubmitting a
near variant.A timeout or ambiguous mutation response is not proof of failure. Follow the returned
recovery_action when present, otherwise Failed mutations.
Never silently change the user's task, category, thesis,
data, horizon, or source. A different horizon is a deliberate, recorded run of the same version.
The forward horizon (fwd_period) is a run condition, not part of the Factor version. To test
another horizon, read get_research_context with stage: "factor", resolve the exact owned
factor_id through Reuse and History, then call run_factor_version with
that factor_id, the positive integer fwd_period and a research_note (no relation or
parent): hypothesis says why that horizon should change the result, and references name the
version's run being compared. It creates a new run of the same version. On an error follow its
recovery_action (Run and Result Delivery); without one,
follow Failed mutations: an identical call inside ten minutes returns the same run. Wait for
run.factor_run_id and read it like any Factor run. Never upload the same source as an improvement to change only the
horizon: the server rejects that upload and tells you to rerun the version. If
run_factor_version is not in the tool list, tell the user that testing an existing version at
another horizon is not available yet and stop; never upload source or submit another backtest
instead. If it rejects the horizon, report that rejection.
QuantAI evaluates every Factor in the direction that made money in-sample, so a reversed Factor's
card would match the original apart from the sign of IC, and Strategies use that evaluated direction
automatically; reversal is retired, so never call a reversal command, even one the server still
lists or the user authorizes. Submit a hand-negated plugin only as a genuinely new idea through the
ordinary authoring workflow. get_factor_reversal with the immutable Factor ID only reads a
relationship created earlier.
continue_factor_backtest re-drives one exact known non-terminal run; it is not a read-only fetch.
Use wait_for_runs to wait without re-driving, for example for several runs at once. Use the
bounded continuation and Result Bundle rules in
Factor Run and Result Delivery.
The canonical completed local output is
Quandora result/factor/<factor_slug>.zip. For authored factors, derive the slug from
the exact accepted matching FACTOR_TYPE literals. For an existing reversed Factor, use the exact
server-returned Factor type from history; if absent, use the safe returned bundle filename.
When naming the export, never silently fall back to a generic factor slug.
Never save the Factor ZIP in a Strategy directory.
State the Factor name, safe run state, safe failure diagnostics if applicable, bundle state, and the
exact verified local ZIP path when saved. After a terminal run, record a one- or two-sentence
conclusion on that factor_run before answering; the server files it under the version with
run_id. State the run's horizon, and report its nearest Factor and absolute value correlation,
or the measured empty result or unavailable comparison. For a partial snapshot, state the exact
omissions and their reasons. If the host cannot write, say that no verified ZIP was saved.
Never expose task IDs in public task lists. Include a job/run handle only when it supports the requested continuation, recovery, export, or handoff. Never include tickets, download URLs, base64, or full plugin source in a general summary.
Use the user's language for the answer while preserving tool names, schema fields, and returned identifiers exactly.
For Factor/Strategy stars and folder-independent metadata, follow Library Favorites.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub varsity-tech-product/quandora-plugins --plugin quandora8 skills in this plugin
/account-connectionConnects, reauthorizes, switches, and verifies the current Quandora account through host-native MCP OAuth, and files problem reports with the Quandora team. Use when the user asks to log in, open authorization, reconnect, change accounts, identify the connected account, or report a problem, bug or wrong data to Quandora. Do not use for Factor, Strategy, Portfolio, or Trading operations./factor-analysisAnalyzes existing owned or active-official Quandora Factor results from server evidence. Use when the user asks about pass/fail, Health, ratings, data quality, mechanisms, controlled improvements, Strategy readiness, similarity to the user's other Factors, or grouping them into factor LibraryFolders. Do not use for creating or submitting a factor./portfolio-analysisAnalyzes an existing Quandora Portfolio backtest against its actual Strategy members and declared baselines. Use when the user asks about diversification, neutrality, risk contributions, drawdown, member value or historical portfolio improvement. Do not use to select and create a new Portfolio, share it, submit experiments or manage forward trading./portfolio-buildingSelects complementary Strategies at equal initial capital and builds, revises or backtests an immutable Quandora Portfolio, including one-member Portfolios. Use when the user asks for a composition plan, capital weights, creation, Community discovery, favorites, publication or sharing. Do not use for single-Strategy authoring, deep diagnosis of an existing Portfolio result or Trading account management./portfolio-trading-analysisManages Simulation accounts and runs and analyzes actual forward-test evidence for Simulation and real Live portfolios. Use when the user asks to create, rename, archive or restore a Simulation account, start/pause/resume/stop a simulated run, or analyze observed trading performance, execution and research divergence. Do not use to create or control real Live accounts or author backtest research./strategy-analysisAnalyzes existing Quandora cross-sectional Strategy results from owned or authorized Publication-context evidence. Use when the user asks about pass/fail, six-chart diagnosis, reusable Strategy research cards, controlled improvements, or Paper readiness. Do not use to compose or submit a Strategy.Other plugins' skills for the same job