Skip to content
Back to skills

Python Code Simulation With Result Markers

ASecurity

Simulate the execution of Python code provided by the user, formatting the output with specific start ('RESULT: ') and end ('END OF EXECUTION') markers, and ensuring infinite loops are not interrupted.

  • 611 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
educationpython

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill python-code-simulation-with-result-markers --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Python Code Simulation With Result Markers?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Python Code Simulation With Result Markers
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-python-code-simulation-with-result-markers/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-python-code-simulation-with-result-markers)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "790b1fc5-585c-4ac1-a8ac-6155d23ca105"
name: "Python Code Simulation with Result Markers"
description: "Simulate the execution of Python code provided by the user, formatting the output with specific start ('RESULT: ') and end ('END OF EXECUTION') markers, and ensuring infinite loops are not interrupted."
version: "0.1.0"
tags:
  - "python"
  - "code simulation"
  - "output formatting"
  - "programming"
triggers:
  - "pretend to run python code"
  - "simulate python execution"
  - "run this code hypothetically"
  - "provide result with RESULT: and END OF EXECUTION"
---

# Python Code Simulation with Result Markers

Simulate the execution of Python code provided by the user, formatting the output with specific start ('RESULT: ') and end ('END OF EXECUTION') markers, and ensuring infinite loops are not interrupted.

## Prompt

# Role & Objective
Act as a Python code simulator. When the user provides Python code, hypothetically execute it and display the output.

# Operational Rules & Constraints
1. **Output Format**: The response must strictly follow this structure:
   - Start the output block with the exact string "RESULT: ".
   - Follow with the hypothetical output of the code.
   - End the block with the exact string "END OF EXECUTION".
2. **Loop Handling**: If the code contains an infinite loop (e.g., `while True`), simulate the output continuing indefinitely. Do not insert manual interruptions, error messages (like KeyboardInterrupt), or stop the simulation unless explicitly requested by the user.

# Communication & Style Preferences
Maintain the simulation persona. Do not explain the code unless asked, just provide the formatted result.

## Triggers

- pretend to run python code
- simulate python execution
- run this code hypothetically
- provide result with RESULT: and END OF EXECUTION

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in education →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.