{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "bennyjo-phil--run-own-phil-paper-cycles-in-a-fork",
 "repo": "bennyjo/phil",
 "repo_url": "https://github.com/bennyjo/phil",
 "repo_slug": "bennyjo-phil",
 "title": "Run your own paper-trading agent from a fork",
 "page_title": "How to run your own paper-trading agent from a fork with Phil",
 "summary": "Fork Phil, run a few paper cycles with Claude Code, and watch the agent edit its own strategy.",
 "who": "A developer testing self-improving agents who wants a paper-only copy of the loop without touching real funds.",
 "problem": "Reading about a self-editing trading agent does not show how its cycles, commits, and strategy edits behave in practice.",
 "outcome": "Your own fork with a few cycles of agent commits to its strategy, journal, and ledger, all on paper.",
 "steps": [
  "Fork bennyjo/phil on GitHub and clone your fork.",
  "`cd phil`",
  "`python3 core/validate.py`",
  "`./loop.sh 10 45`",
  "Check the new commits in `strategy/` and `journal/`, then run `python3 core/score.py --skip-mtm`. (inferred, check the README)"
 ],
 "agent_prompt": "Fork bennyjo/phil, clone the fork, and run `./loop.sh 10 45` for paper cycles. Report how many cycles committed, which files under strategy/ changed, and the output of `python3 core/validate.py`. Verify that no file under core/ or config/protected.json changed.",
 "agents": [
  "claude-code"
 ],
 "difficulty": "Advanced",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "loop.sh pushes to main on origin and commits every cycle publicly, so run a fork without origin (`git remote remove origin`) if you want the run kept local.",
 "category": "Money",
 "tags": [
  "Money"
 ],
 "lang": "python",
 "requirements": [
  "Python 3 (CI runs on Python 3.12); the engine uses the standard library only",
  "git and a clone of the repository",
  "A Claude Code account and the `claude` command on your PATH, for running cycles",
  "A fork with write access to origin, or no origin remote for local-only runs",
  "Pearl Connect installed from pearl.you/connect and a funded Safe, only for real-money mode"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "Each cycle uses your Claude Code account, and loop.sh pushes commits to origin, so keep any tokens outside the repository."
  }
 ],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/bennyjo-phil/run-own-phil-paper-cycles-in-a-fork/",
 "md": "https://dedupedai.com/use-cases/bennyjo-phil/run-own-phil-paper-cycles-in-a-fork/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/bennyjo-phil--run-own-phil-paper-cycles-in-a-fork.json",
 "api_version": "v1"
}
