您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Maintains constant system instructions across new chats in Google's AI Studio.
当前为
Tired of spoon-feeding Google's AI the same system instructions every time you open a new chat? This script jams your preferred instructions into the box automatically. It saves you from the repetitive, soul-crushing task of copy-pasting your prompt manifesto every damn time.
Set it once and forget it.
This isn't plug-and-play for complete novices. You need to do ONE thing.
Find this section at the top of the code:
// --- 1. EDIT YOUR SYSTEM INSTRUCTIONS HERE ---
const systemInstructions = `
You are a helpful and friendly assistant.
Your primary goal is to provide accurate and concise information.
Format all responses using markdown for clarity.
`.trim();
// -------------------------------------------
REPLACE THE TEXT inside the backticks () with your own based system instructions. Keep the
trim()` part.
Hit File > Save
.
If you skip this, you'll just get my generic placeholder text. Don't come crying in the comments if you can't handle editing a variable.
As of this version, the script has a known limitation:
YOU STILL HAVE TO MANUALLY CLICK THE "System instructions" BUTTON.
Why? Because the text area is a ghost—it doesn't exist in the page's code until you click the button to summon it. This script is smart enough to see when that box appears and fill it instantly, but it doesn't yet automate the initial click.
Think of it as a semi-automatic rifle, not a fully automatic one. It's one click versus typing a goddamn novel. It's a massive improvement. Cope.
aria-label="System instructions"
. This is way more stable than the constantly changing CSS class names, but Google's devs could change it on a whim. If they do, this script will shit the bed until it's updated.I'll look into automating the button-click reliably in the future. For now, enjoy the reduced RSI.