Token导航 LogoToken导航TokenDH.com
前端设计执行命令github未标认证来源可访问clear审计通过

make-doom-for-mips为 mips 带来厄运

Agent Skill

用于辅助安全审计、权限检查、凭据风险、认证流程和常见漏洞排查。它适合让 Agent 梳理敏感配置、检查依赖风险、分析鉴权逻辑或生成安全复核清单。使用时不能把工具输出直接当最终结论,涉及密钥、令牌、用户数据或生产系统时,应先确认最小权限、脱敏方式和操作边界。

总安装

776

周安装

33

GitHub Stars

93

下载量

272
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:make-doom-for-mips(为 mips 带来厄运)
来源仓库:https://github.com/letta-ai/skills
仓库路径:skills/make-doom-for-mips
安装命令:
npx skills add https://github.com/letta-ai/skills --skill make-doom-for-mips
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/letta-ai/skills --skill make-doom-for-mips

简介

用于辅助安全审计与权限检查。make-doom-for-mips 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

  • 适合分析鉴权逻辑和常见漏洞排查。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • 支持敏感配置梳理与依赖风险识别。
  • 通过 npx 命令从 GitHub 仓库安装。
  • 不能将工具输出直接作为最终结论,需人工复核。

SKILL.md

Cross-Compiling C Programs for MIPS VM Environments

Overview

This skill provides guidance for cross-compiling complex C programs to run on MIPS-based virtual machines with custom runtime environments. The primary challenge involves creating freestanding executables that work without standard system libraries, implementing custom syscall interfaces, and ensuring the compiled binary actually produces expected output in the target VM.

Critical Success Criteria

Before declaring any task complete, verify the actual acceptance criteria are met:

  1. Identify what output the VM expects (e.g., frame files, console output, specific exit codes)
  2. Run the compiled binary in the VM and confirm expected artifacts are created
  3. Never accept "the program runs some instructions" as success - verify end-to-end functionality

Approach

Phase 1: Environment Analysis

Before writing any code, thoroughly analyze the target environment:

  1. Read the VM implementation completely - Understand:

- Available syscalls and their exact signatures - File system abstractions and path handling - Memory layout expectations - How the VM handles program termination - Any special requirements for input/output

  1. Analyze the source program's dependencies:

- List all required standard library functions - Identify file I/O patterns (WAD files, config files, output files) - Understand the main loop structure and when output occurs - Map out initialization sequence and failure points

  1. Document the interface contract:

- What syscall numbers map to what operations - Expected calling conventions - Return value semantics and error handling

Phase 2: Systematic Stdlib Implementation

Create custom standard library implementations methodically:

  1. Audit all required functions upfront - Do not add functions one-by-one as errors appear. Instead:

- Grep for all function calls in the source - Create a complete list before starting implementation - Group by category: string ops, memory ops, I/O, math

  1. Implement complete functionality for critical functions:

- printf, sprintf, snprintf - Implement actual formatting, not stubs returning 0 - sscanf - Implement actual parsing if the program uses it - File operations - Ensure paths resolve correctly in the VM

  1. Create comprehensive stub headers - For each system header:

- Define only what the program actually uses - Avoid pulling in real system headers that conflict

Phase 3: Cross-Compilation Setup

Configure the toolchain correctly:

  1. Compiler flags:

- Use -ffreestanding to avoid system library assumptions - Use -nostdlib to prevent linking against host libraries - Use -msoft-float if the VM lacks FPU support - Address ABI warnings (hard-float vs soft-float) - these cause runtime failures

  1. Linker configuration:

- Provide appropriate linker script if needed - Ensure entry point is correctly specified - Verify symbol resolution for all custom implementations

Phase 4: Iterative Testing with Verification

Test against actual success criteria at each step:

  1. After first successful compilation:

- Run in VM immediately - Check if expected output files are created - If program terminates early, investigate why

  1. When program terminates unexpectedly:

- Examine the termination address - Add debug output at key checkpoints - Verify resource loading (WAD files, data files) - Check if required command-line arguments are provided

  1. Trace program flow:

- Understand when the expected output should be generated - If output depends on game loop iterations, verify the loop runs - Check tick counters or frame counters if output is periodic

Verification Strategies

Pre-Completion Checklist

Before declaring the task complete:

  • VM implementation has been read and understood
  • All syscalls used by custom stdlib match VM's implementation
  • Critical functions (printf, file I/O) have working implementations, not stubs
  • Resource files (WAD, data) are accessible via VM's file system
  • Program runs to the point where expected output should be generated
  • Expected output files actually exist after VM execution
  • Program executes a reasonable number of instructions (not early termination)

Debugging Early Termination

When a program terminates prematurely:

  1. Check the program counter at termination - what function/code is at that address?
  2. Add print statements at initialization milestones
  3. Verify file open operations succeed (check return values)
  4. Ensure required arguments are passed to main()
  5. Check if errno or error handlers are being triggered

Validating Output Generation

For frame-based output (like DOOM):

  1. Understand when frames are written (e.g., every N ticks)
  2. Verify the game loop executes enough iterations
  3. Check file write syscalls are being called
  4. Confirm output path is writable in VM environment

Common Pitfalls

Stub Functions That Break Programs

Problem: Implementing printf/sprintf as stubs returning 0 breaks programs that depend on formatted output for initialization or configuration parsing.

Solution: Implement actual formatting logic or at minimum ensure the output buffer receives expected content.

Ignoring Linker Warnings

Problem: ABI mismatch warnings (hard-float vs soft-float) are dismissed but cause runtime failures when floating-point operations execute.

Solution: Ensure consistent floating-point ABI across all compiled objects and the VM's expectations.

Premature Success Declaration

Problem: Seeing "program executed N instructions" and concluding success without verifying actual output.

Solution: Always verify the specific acceptance criteria (file creation, correct output content) before marking complete.

Missing Resource Files

Problem: DOOM and similar programs require data files (WAD) that must be accessible via the VM's file system abstraction.

Solution: Verify the binary can locate and open required resources. Check if paths need adjustment for VM environment.

Incomplete Dependency Analysis

Problem: Adding functions one-by-one as compilation errors appear leads to incomplete implementations and missed dependencies.

Solution: Systematically audit all function calls in the source code before starting implementation.

Decision Framework

When to Add Debug Output

Add debug output when:

  • Program terminates after fewer instructions than expected
  • Expected output files are not created
  • Unsure if initialization completes successfully

When to Re-examine VM Implementation

Re-read the VM code when:

  • Syscalls return unexpected values
  • File operations fail silently
  • Program behavior differs from expectations

When to Implement vs Stub a Function

Implement fully when:

  • Function output is used by the program (printf formatting, string operations)
  • Function affects control flow (file open success/failure)
  • Function result is checked by caller

Stub with caution when:

  • Function is called but result is ignored
  • Function is for features not needed in VM context
  • Must document why stub is safe

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

29.75%
按下载量换算81

Gemini CLI

23.83%
按下载量换算65

Antigravity

15.85%
按下载量换算43

windsurf

11.06%
按下载量换算30

OpenCode

7.72%
按下载量换算21

Codex

3.37%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/letta-ai/skills --skill make-doom-for-mips;npx skills add letta-ai/skills --skill "make-doom-for-mips" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills