Skill-codex enables Claude Code to delegate prompts to Codex CLI. Operations teams benefit from automated code execution and session management. Integrates with Codex CLI for direct command execution and session handling.
git clone https://github.com/skills-directory/skill-codex.githttps://github.com/skills-directory/skill-codex
Analyze a code repository and suggest improvements for better performance.
Refactor existing code to enhance readability and maintainability.
Automate the process of generating documentation based on code structure.
Identify and fix potential bugs in the codebase using Codex's analysis.
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/skills-directory/skill-codexCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
I need to delegate this prompt to Codex: [PROMPT]. Please generate the Python code to accomplish this task. Ensure the code is well-commented and includes error handling.
Here's the Python code to analyze sales data and identify at-risk deals:
```python
# Import necessary libraries
import pandas as pd
# Load the sales data from a CSV file
def load_sales_data(file_path):
try:
df = pd.read_csv(file_path)
return df
except FileNotFoundError:
print(f"Error: The file {file_path} was not found.")
return None
except Exception as e:
print(f"An error occurred: {e}")
return None
# Analyze the sales data to identify at-risk deals
def analyze_sales_data(df, criteria):
# Filter deals based on the given criteria
at_risk_deals = df[df[criteria] == 'At Risk']
return at_risk_deals
# Main function to run the analysis
if __name__ == "__main__":
file_path = "sales_data.csv"
criteria = "Status"
sales_data = load_sales_data(file_path)
if sales_data is not None:
at_risk_deals = analyze_sales_data(sales_data, criteria)
print("At-risk deals:")
print(at_risk_deals)
```
This code will load sales data from a CSV file, filter deals based on the specified criteria, and print the at-risk deals.AI assistant built for thoughtful, nuanced conversation
data platform for metagenomics and the microbiome
Simple data integration for modern teams
Business communication and collaboration hub
Customer feedback management made simple
Enterprise workflow automation and service management platform