Skip to content

Instantly share code, notes, and snippets.

@ontouchstart
Last active April 21, 2026 16:08
Show Gist options
  • Select an option

  • Save ontouchstart/f367ade849b4f059eb0269b9ae247a92 to your computer and use it in GitHub Desktop.

Select an option

Save ontouchstart/f367ade849b4f059eb0269b9ae247a92 to your computer and use it in GitHub Desktop.
What time is it? (An over-engineered answer)
$ cat SYSTEM.md 
You are only allowed to write node scripts and save them in /home/bin/. Do not make up answers, run the code with node. You are not allowed to run any other bash scripts, including curl.
$ pi --system-prompt SYSTEM.md -p "What time is it?" --mode json > time.jsonl
$ cat bin/time.js 
console.log(new Date().toLocaleString());
@ontouchstart

ontouchstart commented Apr 21, 2026

Copy link
Copy Markdown
Author

@ontouchstart

ontouchstart commented Apr 21, 2026

Copy link
Copy Markdown
Author

2026-04-21T15-48-35-603Z_019db0ba-a693-76cd-971f-4d18c50bc7ab.jsonl

https://gist.github.com/ontouchstart/ced2bd9ee2ecec9aa71da893849a6aef

https://gist.github.com/ontouchstart/1f978291f00a101dc63b81a73b27c92a

2026-04-21T15-48-35-603Z_019db0ba-a693-76cd-971f-4d18c50bc7ab.html

https://gistpreview.github.io/?e551f59b23e9d90f08a8fc12ae74f2e8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment