Skip to content

Instantly share code, notes, and snippets.

@m4rio
m4rio / agent loop
Created March 10, 2025 06:08 — forked from jlia0/agent loop
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@m4rio
m4rio / worker.js
Created December 20, 2023 05:46 — forked from s1ntoneli/worker.js
Cloudflare worker,简单转发实现国内访问 ChatGPT
const TELEGRAPH_URL = 'https://api.openai.com';
addEventListener('fetch', event => {
event.respondWith(handleRequest(event.request))
})
async function handleRequest(request) {
const url = new URL(request.url);
url.host = TELEGRAPH_URL.replace(/^https?:\/\//, '');