skillZs
LIVE SKILL TAGS
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
REAL INSTALL DATA
← back to all skills
tsinghua-fib-lab/agentsociety1 installs

agentsociety-research-pipeline

Use when starting or resuming an AgentSociety research workspace, deciding which research skill to invoke next, checking current pipeline state, or sizing a simulation before configuration and module creation.

How do I install this agent skill?

npx skills add https://github.com/tsinghua-fib-lab/agentsociety --skill agentsociety-research-pipeline
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    This skill orchestrates a multi-stage research workflow by executing local scripts and git commands to track progress. It processes workspace files and user-provided topics to determine state transitions. A minor security consideration is the use of 'git add -A', which could include unintended files in the repository history if sensitive data is present in the workspace.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

What does this agent skill do?

Research Pipeline

Orchestrates the AgentSociety research workflow. Determines which skill to invoke based on the current workspace state and user intent.

Overview

The research pipeline is a directed workflow: literature search → hypothesis → experiment config → run → analysis → paper. Supporting skills (scan-modules, create-agent, create-env-module, web-research, datasets) branch off the main trunk at specific points.

Scale Planning Gate

Before entering experiment-config, create-agent, or create-env-module, confirm the simulation scale budget:

  • target agent count or range
  • expected step budget
  • acceptable runtime or compute budget
  • preferred complexity tier, such as lean, balanced, or rich

If any of these are missing, ask one round of clarifying questions first. Present 2-3 approaches with trade-offs and a recommendation, then route into the appropriate skill once the budget is fixed.

Dataset Gate

If the task may depend on external data, treat dataset access as a first-class branch rather than an afterthought.

  • Use agentsociety-use-dataset to search, inspect, and download datasets from the platform.
  • If no suitable dataset exists locally or remotely, surface that gap before continuing with experiment design.
  • Use agentsociety-create-dataset when the work needs packaging, validation, upload, or publishing of a dataset.
  • If local files should be shared or reused, guide the user through dataset upload rather than folding the files into experiment config by hand.

Quick Reference

At the beginning of a new session or resumption, run:

$PYTHON_PATH .agentsociety/bin/ags.py research-pipeline where-am-i --json

This reads .agentsociety/progress.json to determine the current stage. If the file does not exist, fall back to file-existence detection and then bootstrap tracking with init.

Git Checkpoint Discipline

Every pipeline transition must be persisted with an explicit git commit. Hook-based auto-commit approaches are unreliable — always commit manually.

Workspace Initialization

When bootstrapping a new workspace with research-pipeline init:

# 1. Init the workspace directory if not already a git repo
git init
# 2. Create progress tracking
$PYTHON_PATH .agentsociety/bin/ags.py research-pipeline init --topic "TOPIC"
# 3. Initial commit
git add -A && git commit -m "init: bootstrap research pipeline"

Stage Transitions

After every call to research-pipeline update-stage, commit the current iteration's changes:

$PYTHON_PATH .agentsociety/bin/ags.py research-pipeline update-stage STAGE STATUS
git add -A && git commit -m "pipeline: STAGE → STATUS"

For example:

$PYTHON_PATH .agentsociety/bin/ags.py research-pipeline update-stage literature_search completed
git add -A && git commit -m "pipeline: literature_search → completed"

Rules

  • If git is not initialized in the workspace, run git init first.
  • Commit messages follow the pattern: pipeline: STAGE → STATUS.
  • Use git add -A to capture all changes produced by the current stage.
  • Do not rely on git hooks (pre-commit, post-commit, etc.) for this — they are unreliable in this context. Commit explicitly.

Entry Conditions

Use where-am-i --json whenever the current stage is unclear.

  • If .agentsociety/progress.json exists, trust current_stage as the primary routing signal.
  • If the file is missing, infer the stage from workspace artifacts, then initialize progress tracking.
  • If the current stage already has a failed status, route to the owning skill for repair rather than restarting the pipeline.
  • If the work depends on simulation size or runtime budget and those values are missing, resolve the scale planning gate before routing onward.
current_stageRoute to Skill
literature_searchliterature-search
hypothesishypothesis
experiment_configexperiment-config
run_experimentrun-experiment
analysisanalysis
generate_paperpaper-toolkit

Progress File Quick Reference

CommandPurpose
$PYTHON_PATH .agentsociety/bin/ags.py research-pipeline init --topic "TEXT"Bootstrap progress.json (also git init + initial commit if needed)
$PYTHON_PATH .agentsociety/bin/ags.py research-pipeline statusShow progress summary
$PYTHON_PATH .agentsociety/bin/ags.py research-pipeline where-am-i --jsonGet current stage as JSON
$PYTHON_PATH .agentsociety/bin/ags.py research-pipeline update-stage STAGE STATUSUpdate stage status (then git add -A && git commit)
$PYTHON_PATH .agentsociety/bin/ags.py research-pipeline set-verification STAGE STATUSUpdate stage verification status
$PYTHON_PATH .agentsociety/bin/ags.py research-pipeline next-action --jsonGet the recommended next action

Workflow

digraph research_pipeline {
    rankdir=LR;
    node [shape=box, style=filled, fillcolor="#E8F4FD"];
    decide [label="where-am-i"];
    lit [label="literature-search"];
    hypo [label="hypothesis"];
    scan [label="scan-modules\noptional helper"];
    exp [label="experiment-config"];
    run [label="run-experiment"];
    analysis [label="analysis"];
    paper [label="paper-toolkit"];
    agent [label="create-agent"];
    env [label="create-env-module"];
    create_ds [label="create-dataset"];
    use_ds [label="use-dataset"];
    web [label="web-research"];

    decide -> lit;
    decide -> hypo;
    decide -> exp;
    decide -> run;
    decide -> analysis;
    decide -> paper;

    lit -> hypo;
    lit -> web [style=dashed, label="supplementary context"];
    hypo -> scan [style=dashed, label="names uncertain"];
    scan -> hypo;
    hypo -> exp;
    exp -> scan [style=dashed, label="need discovery or validation"];
    scan -> exp;
    exp -> agent [style=dashed, label="missing agent"];
    agent -> exp;
    exp -> env [style=dashed, label="missing env"];
    env -> exp;
    exp -> create_ds [style=dashed, label="publish dataset"];
    exp -> use_ds [style=dashed, label="need external data"];
    use_ds -> exp;
    exp -> run;
    run -> analysis;
    analysis -> paper;
    analysis -> hypo [style=dashed, label="revise hypothesis"];
    analysis -> use_ds [style=dashed, label="comparison data"];
    analysis -> web [style=dashed, label="supplementary context"];
}

Pipeline Map

#SkillProducesConsumes
1literature-searchpapers/, papers/literature_index.jsonTOPIC.md
2hypothesishypothesis_{id}/HYPOTHESIS.md, SIM_SETTINGS.jsonliterature index
3experiment-configinit_config.json, steps.yaml, config_params.pySIM_SETTINGS.json
4run-experimentrun/replay/_schema.json, sharded replay JSONL, run/output.log, run/artifacts/init_config.json + steps.yaml
5analysispresentation/hypothesis_{id}/report.md, charts, datarun/replay/
6paper-toolkitpaper deliverablesanalysis report + literature index

Branch Skills (called from trunk)

Branch SkillCalled ByWhen
scan-moduleshypothesis, experiment-configWhen module names are unknown or need validation
create-agentexperiment-configWhen needed agent class doesn't exist
create-env-moduleexperiment-configWhen needed env module doesn't exist
web-researchliterature-search, hypothesis, analysisWhen supplementary non-academic context needed
create-datasetexperiment-configWhen packaging data for upload or publishing
use-datasetliterature-search, hypothesis, experiment-config, analysisWhen searching, downloading, or inspecting datasets

Skill Index

SkillTrigger Keywords
literature-search"literature", "papers", "related work", "background research"
hypothesis"hypothesis", "research question", "control", "treatment", "experiment groups"
experiment-config"configure experiment", "init_config", "steps.yaml", "set up experiment"
run-experiment"run experiment", "start simulation", "check status", "stop experiment"
analysis"analyze", "results", "visualization", "chart", "report"
paper-toolkit"write paper", "academic paper", "generate paper", "Nature paper"
scan-modules"available modules", "list agents", "find environment"
create-agent"create agent", "custom agent", "new agent type"
create-env-module"create environment", "custom module", "env module"
web-research"web search", "current events", "recent developments"
create-dataset"create dataset", "upload dataset", "publish data"
use-dataset"download dataset", "find data", "browse datasets", "search datasets", "dataset search"

Iterative Cycles

  • Analysis → Hypothesis: results may refine or revise the hypothesis
  • Experiment-config → Create-agent/Create-env-module: missing modules trigger creation
  • Experiment-config → Scan-modules: names can be confirmed when discovery is needed
  • Run → Config: failed validation or execution loops back to config fixes

Persistence Files

FileGitPurpose
.agentsociety/progress.jsonCommittableStage tracker with status, timestamps, attempt counts

Hard Constraints

  • Never run analysis before run-experiment produces run/replay/_schema.json
  • Always run experiment-config check before run-experiment
  • paper-toolkit requires analysis reports to exist
  • Always call research-pipeline update-stage after completing a pipeline stage
  • Always git commit after research-pipeline update-stage — see Git Checkpoint Discipline
  • On workspace init, run git init (if needed) followed by an initial commit
  • Do not rely on git hooks for auto-commit; commit explicitly after every stage transition

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/tsinghua-fib-lab/agentsociety/agentsociety-research-pipeline">View agentsociety-research-pipeline on skillZs</a>