Catalogue of prompt framings that determine whether an agent refuses or performs specification search, and the harness for probing them.

Custom licenceAuto-check passedAI & LLM Engineering

Install Framing Attacks

skills CLI
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill framing-attacks -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install brycewang-stanford/Auto-Empirical-Research-Skills framing-attacks --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/73-brycewang-p-hacking-skills/skills/04-framing-attacks .claude/skills/framing-attacks && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
framing-attacks
GitHub stars
4.5k
Token cost
~1.4k tokens
SKILL.md length
680 words
Files
1
Skills in repo
383
Repo updated
First seen
Licence
Custom licence

At a glance

Catalogue of prompt framings that determine whether an agent refuses or performs specification search, and the harness for probing them.

  • Running a red-team probe of statistical guardrails
  • SKILL.md covers What this measures, The framing ladder (an object…, Running a probe and Reading a result, plus 1 more section
  • Calls python
  • Designing eval conditions for an agent p-hacking benchmark

What it does

Framing Attacks is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. Catalogue of prompt framings that determine whether an agent refuses or performs specification search, and the harness for probing them. Reproduces and extends the published finding that coding agents refuse an explicit request for significant results but comply when the identical request is reframed as uncertainty reporting. Use when running a red-team probe of statistical guardrails, designing eval conditions for an agent p-hacking benchmark, measuring the gap between refusal-by-framing and refusal-by-intent…

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering LLM guardrails and Red teaming and adversary simulation. The repository describes itself as: 🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI…

When your agent uses it

  • Running a red-team probe of statistical guardrails
  • Designing eval conditions for an agent p-hacking benchmark
  • Measuring the gap between refusal-by-framing and refusal-by-intent
  • Assessing whether a prompt someone received was engineered to induce specification search

Example prompts

  • “/framing-attacks”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 9fa87d8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Framing Attacks loads about 1.4k tokens when it runs. Until then it costs about 157 tokens; SKILL.md has 680 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~157
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 680 words (~1,400 tokens).

“Asher, Malzahn, Paschal, Persano, Myers & Hall (2026) ran 640 analysis sessions across two frontier coding agents and four published null-result papers. The finding that matters here:”

— opening of SKILL.md by brycewang-stanford, Custom licence
name
framing-attacks

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/73-brycewang-p-hacking-skills/skills/04-framing-attacks of brycewang-stanford/Auto-Empirical-Research-Skills.

Open the folder on GitHubat commit 9fa87d8

Compare with similar skills

Framing Attacks next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Framing Attacks compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Framing Attacks this skillbrycewang-stanford/Auto-Empirical-Research-Skills4.5k—~1.4kAutomated safety check: PassCustom licence
Red Teaming LLMs With Garakmukul975/Anthropic-Cybersecurity-Skills34k—~2.9kAutomated safety check: WarnApache-2.0
Aisafetyhotwuyoscar/AISafetyHot-Hub641—~1.4kAutomated safety check: PassCustom licence
Writing Eval Scenariosopen-bias/open-bias143—~1.5kAutomated safety check: PassApache-2.0
Prompt GuardOrchestra-Research/AI-Research-SKILLs13k1 repos~2.4kAutomated safety check: WarnMIT
Continuous LLM Red Teaming With Promptfoomukul975/Anthropic-Cybersecurity-Skills34k—~2.5kAutomated safety check: PassApache-2.0

Similar skills

  • Red Teaming LLMs With Garak

    mukul975/Anthropic-Cybersecurity-Skills

    Runs NVIDIA garak probe suites (jailbreak, prompt injection, data leakage, toxicity, and more) against an LLM endpoint - Hugging Face models, OpenAI-compatible APIs, or Bedrock - then interprets the…

    34k GitHub stars~2.9k tokensUpdated 1 mo ago
    SecurityAuto-check: warnings
  • Aisafetyhot

    wuyoscar/AISafetyHot-Hub

    Query AI Safety HOT news, research papers, incidents, hot topics, and daily/weekly/monthly reports through its public read-only MCP service.

    641 GitHub stars~1.4k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Writing Eval Scenarios

    open-bias/open-bias

    Guide for writing eval conversation JSONs and running them through policy engines

    143 GitHub stars~1.5k tokensUpdated 2 days ago
    AI & LLM EngineeringAuto-check passed
  • Prompt Guard

    Orchestra-Research/AI-Research-SKILLs

    Meta's 86M prompt injection and jailbreak detector. An agent skill from Orchestra-Research/AI-Research-SKILLs.

    13k GitHub starsUsed in 1 repo~2.4k tokens
    AI & LLM EngineeringAuto-check: warnings
  • Continuous LLM Red Teaming With Promptfoo

    mukul975/Anthropic-Cybersecurity-Skills

    Wires Promptfoo and DeepTeam into CI/CD for automated, repeatable red-teaming of LLM apps against OWASP LLM Top 10, OWASP Agentic, and MITRE ATLAS presets, failing the build when jailbreak or…

    34k GitHub stars~2.5k tokensUpdated 1 mo ago
    SecurityAuto-check passed
  • Defending LLMs With Guardrails

    mukul975/Anthropic-Cybersecurity-Skills

    Deploys Llama Guard 3 safety classification, NeMo Guardrails programmable dialogue rails, and LLM Guard input/output scanner pipelines as complementary runtime defenses that inspect and constrain…

    34k GitHub stars~3.1k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check: warnings

More from brycewang-stanford/Auto-Empirical-Research-Skills

All 383 skills in this repo
  • Aer Consistency

    brycewang-stanford/Auto-Empirical-Research-Skills

    A skill your agent uses when auditing a finished or near-finished AER, AER:Insights, or AEJ manuscript for internal consistency: headline numbers across abstract, introduction, results, and tables…

    4.5k GitHub starsUsed in 1 repo~2.6k tokens
    Auto-check passed
  • Latex Paper En

    brycewang-stanford/Auto-Empirical-Research-Skills

    English LaTeX academic paper assistant for existing .tex projects.

    4.5k GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • Bayesian Workflow

    brycewang-stanford/Auto-Empirical-Research-Skills

    Opinionated Bayesian modeling workflow with PyMC and ArviZ. An agent skill from brycewang-stanford/Auto-Empirical-Research-Skills.

    4.5k GitHub stars~3.5k tokensUpdated 3 days ago
    Auto-check passed
  • Daily Paper Generator

    brycewang-stanford/Auto-Empirical-Research-Skills

    A skill your agent uses when the user asks to "generate daily paper", "search arXiv for EEG papers", "find EEG decoding papers", "review brain-computer interface papers", or wants to create paper…

    4.5k GitHub stars~2.2k tokensUpdated 3 days ago
    Auto-check passed
  • Five Questions

    brycewang-stanford/Auto-Empirical-Research-Skills

    Deeply analyze any empirical economics PDF using the five-question framework (五问框架): research question, identification strategy, core estimand, robustness logic, and scholarly contribution.

    4.5k GitHub stars~1.7k tokensUpdated 3 days ago
    Auto-check: notes
  • Kaggle Research

    brycewang-stanford/Auto-Empirical-Research-Skills

    A skill your agent uses when a research task needs reproducible Kaggle discovery, metadata inspection, bounded public-data downloads, competition or kernel discovery, model discovery, or an…

    4.5k GitHub stars~868 tokensUpdated 3 days ago
    Auto-check passed

Questions about Framing Attacks

What does Framing Attacks do?

Catalogue of prompt framings that determine whether an agent refuses or performs specification search, and the harness for probing them. Framing Attacks is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. Catalogue of prompt framings that determine whether an agent refuses or performs specification search, and the harness for probing them.

When should I use Framing Attacks?

Framing Attacks fits situations like: running a red-team probe of statistical guardrails; designing eval conditions for an agent p-hacking benchmark; measuring the gap between refusal-by-framing and refusal-by-intent; assessing whether a prompt someone received was engineered to induce specification search.

How do I install Framing Attacks in Claude Code?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill framing-attacks -a claude-code`. Or copy the skill folder (skills/73-brycewang-p-hacking-skills/skills/04-framing-attacks in brycewang-stanford/Auto-Empirical-Research-Skills) into .claude/skills/framing-attacks in your project. Claude Code loads it when a task matches its description.

How do I install Framing Attacks in Codex?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill framing-attacks -a codex`. Or copy the skill folder (skills/73-brycewang-p-hacking-skills/skills/04-framing-attacks in brycewang-stanford/Auto-Empirical-Research-Skills) into .agents/skills/framing-attacks in your project. Codex loads it when a task matches its description.

Can I use Framing Attacks in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill framing-attacks -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/framing-attacks, .gemini/skills/framing-attacks, .github/skills/framing-attacks and .opencode/skills/framing-attacks in your project.

What does Framing Attacks need to run?

Going by SKILL.md and its folder, Framing Attacks needs the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Framing Attacks access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Framing Attacks safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Framing Attacks use?

Framing Attacks has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Framing Attacks use?

About 1.4k tokens (SKILL.md is roughly 5.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Framing Attacks?

Skills that share tags, products or a category with Framing Attacks: Red Teaming LLMs With Garak (mukul975/Anthropic-Cybersecurity-Skills, 34k stars), Aisafetyhot (wuyoscar/AISafetyHot-Hub, 641 stars), Writing Eval Scenarios (open-bias/open-bias, 143 stars) and Prompt Guard (Orchestra-Research/AI-Research-SKILLs, 13k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Framing Attacks?

brycewang-stanford (a GitHub user) maintains it in brycewang-stanford/Auto-Empirical-Research-Skills, which has 4,542 GitHub stars. The repository holds 383 skills in this directory. The repository was last updated on October 5, 2026.

Source: brycewang-stanford/Auto-Empirical-Research-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.