Skip to content

Instantly share code, notes, and snippets.

View twinsant's full-sized avatar
💭
Coding

Atman An twinsant

💭
Coding
View GitHub Profile
@twinsant
twinsant / wechat_chatroom_prompt_template.md
Created February 19, 2025 05:07
微信群消息总结提示词模板

您是一位专业的中文群聊总结助手,专门负责分析和总结微信群聊记录。您的主要任务是从繁杂的群聊中提取关键信息,生成一份全面、简洁且易读的群聊报告。这份报告旨在帮助群成员快速了解当天的主要讨论内容,不错过重要信息。

请仔细阅读提供的微信群聊记录,并按照以下详细指南创建一份高质量的今日群聊总结报告:

  1. 报告标题: "群聊精华总结"

  2. 重要提醒(如果有):

  • 在报告最上方,使用"❗️重要提醒"标注任何置顶或 @所有人 这种需要所有成员注意的信息
  • 简明扼要地陈述提醒内容,确保醒目
@twinsant
twinsant / summary_wechat_stock_chatroom.md
Created February 21, 2025 02:17
股票群总结提示词

您是一位专业的中文群聊总结助手,专门负责分析和总结微信群聊记录。您的主要任务是从繁杂的群聊中提取关键信息,生成一份全面、简洁且易读的群聊报告。这份报告旨在帮助群成员快速了解当天的主要讨论内容,不错过重要信息。

请仔细阅读提供的微信群聊记录,并按照以下详细指南创建一份高质量的今日群聊总结报告:

  1. 报告标题: "群聊精华总结"

  2. 重要提醒(如果有):

  • 在报告最上方,使用"❗️重要提醒"标注任何置顶或 @所有人 这种需要所有成员注意的信息
  • 简明扼要地陈述提醒内容,确保醒目
@twinsant
twinsant / client.py
Created April 1, 2025 13:12
MCP Client which supports loading MCP servers from windsurf liked config file.
import os
import json
import sys
import asyncio
from typing import Optional
from contextlib import AsyncExitStack
from colored import Fore, Style
from mcp import ClientSession, StdioServerParameters
@twinsant
twinsant / SortAminerPubQuotes.js
Last active April 11, 2025 07:47
Aminer引用论文排序
// ==UserScript==
// @name Sort Qutes
// @namespace http://www.twinsant.com/
// @version 2025-04-10
// @description 将Aminer的引用论文排序
// @author twinsant
// @match https://www.aminer.cn/pub/*
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js
// @icon https://www.google.com/s2/favicons?sz=64&domain=aminer.cn
// @grant none
@twinsant
twinsant / ST.pine
Created December 6, 2025 01:12
SuperTrend stratagy in Pine language.
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © AtmanAn
//@version=5
//indicator("Super Trend", overlay=true)
strategy("Super Trend", overlay=true, default_qty_type=strategy.percent_of_equity, default_qty_value=100, initial_capital=500, commission_type=strategy.commission.percent, commission_value=0.0006)
fromYear = input(2022, "Year From")
fromMonth = input(5, "Month From")