Easypaper setup environment

From tsinghua-fib-lab/AgentSociety · View interactive version

Easypaper setup environment is an AI agent skill from the GitHub repository tsinghua-fib-lab/AgentSociety. Automatically set up EasyPaper environment including Python dependencies and LaTeX toolchain in an isolated environment.

How to use this skill

Skill file

Use this skill when the plugin is first installed or when environment setup is needed.

Setup Workflow

1. Check Python Environment

2. Install EasyPaper Package

```bash

uv venv .easypaper-env

source .easypaper-env/bin/activate # or .easypaper-env/Scripts/activate on Windows

uv pip install -e . # if in repo root

# OR

uv pip install easypaper[server] # if installing from PyPI

```

```bash

python -m venv .easypaper-env

source .easypaper-env/bin/activate

pip install -e . # or pip install easypaper[server]

```

3. Check LaTeX Installation

4. Create or Validate Configuration

sibling template file config.example.yaml.

the repository source template configs/example.yaml; do not hand-write a

partial config in this skill.

value and replace only the placeholder values they explicitly provide

(for example YOUR_OPENROUTER_KEY). Do not invent credentials.

EasyPaper(config_path="<absolute path to easypaper_config.yaml>") or by

setting AGENT_CONFIG_PATH for commands that call load_config().

folder: EasyPaper loads packaged built-in skills first, then overlays user

skills from skills_dir when that directory exists.

5. Verify Setup

python -c "from easypaper import EasyPaper; EasyPaper(config_path='easypaper_config.yaml'); print('EasyPaper config loaded successfully')"

6. Create Environment Activation Script

Create a helper script (.easypaper-activate.sh or .easypaper-activate.bat) that:

Error Handling

report the plugin installation as incomplete and ask the user to reinstall

the EasyPaper Claude Code plugin.

Post-Setup Instructions

After successful setup, inform the user:

  1. Environment is ready in .easypaper-env
  2. To activate: source .easypaper-env/bin/activate (or equivalent for Windows)
  3. EasyPaper can now be used directly as a Python SDK: from easypaper import EasyPaper, PaperMetaData
  4. The environment is isolated and won't affect system Python
  5. The active config file path, normally ./easypaper_config.yaml
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.