技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
oasis【数据与研究】Use OASIS (camel-oasis) for LLM social-media simulations, agent profiles, platform actions, recommendation settings, SQLite traces, and legacy experiment analysis.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill for tasks involving OASIS / camel-oasis: agent-based Twitter-like or Reddit-like simulations, profile file preparation, AgentGraph and SocialAgent setup, ManualAction/LLMAction step orchestration, custom Platform and recommendation settings, OASIS SQLite trace databases, and legacy experiment analysis.
Normal package install:
pip install camel-oasis
Local checkout install:
pip install -e .
Minimal import check:
import oasis
print(oasis.__version__)
from oasis import AgentGraph, SocialAgent, UserInfo, ActionType, ManualAction
If import fails with FastMCP / mcp.server, use a compatible MCP version such as pip install 'mcp<2' or update CAMEL to a compatible release.
| Task | Read |
|---|---|
Create or validate Reddit JSON/Twitter CSV profiles; build AgentGraph; customize SocialAgent, UserInfo, prompts, toolkits, or Neo4j graph backend. | sub-skills/agent-profiles/SKILL.md |
Run or adapt Reddit/Twitter/custom simulations; manage env.reset() / env.step() / env.close(); use ManualAction and LLMAction; configure model backends and budgets. | sub-skills/simulation-workflows/SKILL.md |
Choose ActionType and ManualAction.action_args; configure Platform, RecsysType, Clock, or Channel; inspect SQLite tables, traces, groups, reports, products, and recommendations. | sub-skills/platform-actions/SKILL.md |
| Triage legacy OASIS experiment YAMLs, generated-user flows, large-scale VLLM/OpenAI runs, score/counterfactual analysis, and visualization outputs. | sub-skills/experiments-analysis/SKILL.md |
For a new task, prefer a tiny no-LLM path before provider-backed simulation:
agent-profiles.LLMAction, TwHIN/personalized recommendation, VLLM, OpenAI embeddings, Neo4j, or large experiment settings with explicit credentials and budget.camel-oasis; import name is oasis.0.2.5 on Python >=3.10,<3.12.ManualAction uses action_type and action_args. Some docs or snippets may show older action / args names; use the source-backed dataclass fields.actions passed to env.step() are keyed by SocialAgent objects, not integer agent IDs.SocialAgent(model=None) can require a non-empty OPENAI_API_KEY because CAMEL builds a default model backend. No real provider call occurs until an LLM-backed action is performed.twhin-bert recommendations, which may require optional model downloads or torch/CUDA resources. Use Reddit or random recommendation settings for tiny CPU-only checks.Structured router metadata lives in references/repo-routing-metadata.json. Do not hand-edit live routers; use the repo-skill verification/import protocol when importing is explicitly requested.