Λογότυπο Optimize Runtime

Optimize Runtime

Κοινότητα
Scripter36
optimize-runtime

Iteratively optimize a specified workload by choosing suitable metrics and diagnostic tools, making causal code changes, remeasuring and validating outputs until no actionable axes remain. Use for sustained CPU, GPU, renderer, training, I/O or memory optimization; use a profiling skill for a single capture and tune-hyperparameters for learning-parameter search.

Επισκόπηση

ΕκδότηςScripter36
ΑποθετήριοInstantMimic
Όνομα δεξιότηταςoptimize-runtime
Αστέρια
20
Forks
1
Συνοδευτικά αρχεία
4
Άδεια χρήσηςApache-2.0
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • 4 συνοδευτικά αρχεία

    Σενάρια, πρότυπα και υλικό αναφοράς που μπορεί να διαβάζει το μοντέλο καθώς εργάζεται. Τα αρχεία είναι μόνο για ανάγνωση και δεν εκτελούνται ποτέ.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε από Scripter36 στο GitHub. Διαβάστε το πηγαίο περιεχόμενο πριν εγκαταστήσετε τη δεξιότητα.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Optimize Runtime στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/Scripter36/InstantMimic/tree/main/plugins/instantmimic-workflows/skills/optimize-runtime
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Νέα δεξιότητα → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που διαβάζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Scripter36/InstantMimic.git /tmp/InstantMimic
mkdir -p .claude/skills
cp -r /tmp/InstantMimic/plugins/instantmimic-workflows/skills/optimize-runtime .claude/skills/optimize-runtime
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Optimize Runtime σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Optimize Runtime μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Optimize Runtime δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλα κατά τη συνομιλία

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

Optimize Runtime

Own the complete loop: measure/diagnose → explain → change → remeasure → validate → reassess. Continue while evidence supports another actionable axis. One speedup, a successful capture or a target number is not completion. kFPS, Nsight, CUDA and learning checks are workload-specific choices, not prerequisites.

Choose the objective and tools

Read applicable repository instructions, the user's goal and actual runtime consumers. Reuse existing authorization. Record a compact measurement contract:

  • representative input/output and work volume, such as scenes, image resolution, data size, requests, frames or simulation rollouts;
  • source snapshot (commit plus dirty diff when needed), relevant hardware/software, execution settings, cache/load state and output destination;
  • primary metric with units, direction, aggregation and measurement boundary; constraints on output quality, latency tails, memory or other tradeoffs;
  • repeat/warmup plan, effect resolution derived from variation/user needs, allowed numerical/visual differences and required behavioral regressions;
  • allowed files/layers, compatibility/maintainability requirements, inherited budgets and material authority.

Infer a reasonable objective from the task and evidence, state it and ask only when a material tradeoff remains unresolved. Choose tools to answer the current causal question. Read Measurement and Tools for metric selection, CPU/native/Python, graphics, CUDA, memory and I/O routes. Use a small representative probe before an expensive capture. Missing one tool is not a blocker when another supplies the needed evidence. Do not install or run an irrelevant GPU profiler for CPU-only work.

Preserve the requested outputs, quality and executed work. Lowering resolution, samples, fidelity, precision or workload size is a tradeoff requiring explicit scope, not an implementation speedup. Preserve required runtime modes and behavior; apply graph, simulator or learning constraints only to paths that use them. A simulator-internals restriction still permits common orchestration and official-API reuse within that restriction.

Bound each measurement, diagnosis and regression run. Honor user/parent limits; do not invent an overall cycle, time or no-improvement cutoff in place of the exhaustion request. Ask only for missing material authority. Limits or unavailable necessary evidence yield a resumable incomplete result, not exhaustion.

Keep baselines comparable and observe relevant interference: CPU load, storage, GPU occupancy, thermal/clock changes or background jobs. Exclude invalid samples with documented reasons, while retaining real tail/jank behavior; do not terminate others. Read Optional Local Workflows before GPU work. For training experiments also use Experiment Protocol; its logger/seed and playback conventions do not impose training work on a renderer or CPU task.

Persistent evidence

Use one ignored task workspace following repository policy. Keep canonical outputs in their normal location (training runs in logs/ when applicable), reusable caches outside the task directory, and record:

  • README.md: contract, chosen tools/reasons, accepted result, next action, resume;
  • baseline.json: immutable starting config, commands and raw metric samples;
  • axes.json: discovered axes, status, evidence, hypotheses and closure reason;
  • cycles/NNN/: source diff, config/tool fingerprints, raw diagnostic/measurement/ validation evidence, decision and accepted revision for each attempt.

When invoked by a parent workflow, inherit its frozen scope/budgets and reuse its workspace. Route baseline/axes/cycles to the supplied artifact prefix; keep the parent's contract/state authoritative. Return status and raw evidence paths without advancing parent phases, changing its gates or replacing independent review. Do not create a second approval gate or state machine.

These are agent artifacts, not an application API or new controller. Use relative artifact references and omit private endpoints. On resume verify code/config/ hardware fingerprints before reusing evidence. Rebaseline changed workloads explicitly while retaining earlier results.

Repeat the optimization cycle

  1. Measure and locate. Establish a baseline under the objective's actual conditions, including cold startup or tail load when those are the goal. Use suitable sampling, traces, counters, allocation data or phase timings to attribute the cost. Profiling is optional when simpler measurements establish ownership. Read Axis Review; inspect the whole relevant path, not a fixed list of CUDA kernels or training phases.
  2. Explain one hypothesis. Trace avoidable cost to its owner and dependencies. Estimate attainable benefit in the target metric relative to noise and code complexity. Eliminate unnecessary work before optimizing its implementation. Use a deeper tool only when it answers an unresolved question; record its selection or justified omission. Re-select tools when the bottleneck changes.
  3. Make a narrow change. Protect the affected behavioral contract first and make one causal change (a tightly coupled implementation may be one change). Preserve readable code, resource/output ownership and supported fallbacks. Fix shared layers when they own the cost and check other consumers. Avoid a second runtime or input-specific branch merely to favor the benchmark. Preserve other worktree edits.
  4. Remeasure under normal conditions. Compare the candidate with the actual incumbent and retain initial-baseline progress. Match inputs, outputs, load, modes and timing boundaries. Use repeated/interleaved trials as needed for drift/noise. Benchmark with expensive diagnostic instrumentation disabled; an already calibrated production counter may remain part of normal operation. Capture the target metric and guardrails, not only a locally faster phase.
  5. Validate and decide. Follow Validation for this workload. Adopt a useful measured gain only when affected output quality, correctness, lifecycle, compatibility and resource checks pass at justified complexity. Reject guardrail violations and revert only this attempt's owned changes; honor explicitly permitted metric tradeoffs. Mark noisy/interfered/incomplete evidence inconclusive; resolve it before claiming a gain. A failed idea does not close an axis.
  6. Reassess the accepted path. Obtain fresh relevant whole-path attribution using appropriate tools or measurements. Reopen changed assumptions, discover new axes and revisit prior closures. Rejected candidates leave the incumbent in place; test other supported hypotheses. Return to step 1 while actionable axes remain; repeated heavy Nsight captures are not mandatory.

For training, apply existing nsys/ncu/smoke/evaluation skills when their specific capabilities are needed. Runtime implementation optimization and convergence search are different tasks; use $tune-hyperparameters only when requested.

Exhaustion and handoff

Read closure rules before ending. Completion requires final-path attribution and normal-condition baseline-to-final measurements, evidence-backed review of every discovered in-scope axis, passing affected output/regression/guardrail checks and a maintainable intended diff. No actionable or unexamined axis may remain. Required representative workloads and applicable startup/resource checks must support the retained gains.

High utilization, one no-gain trial, fixed attempts or reaching a desired metric does not exhaust a workload. Promising unmeasured axes or unavailable necessary evidence stay open/blocked; do not relabel them out of scope. Follow explicit stop requests and limits with an incomplete result and exact continuation.

Report exhausted within the recorded scope and measurement resolution only when those conditions hold, not global optimality. Otherwise report incomplete and the blocker/limit. Include chosen metric/tools, accepted/rejected changes, measured gains and tradeoffs, quality checks, remaining bounds and artifact paths. Commit only authorized changes; optimization does not imply push/publication.

Συνοδευτικά αρχεία

Το μοντέλο τα διαβάζει όποτε χρειάζεται, όσο η δεξιότητα είναι φορτωμένη. Διατίθενται ως αρχεία για ανάγνωση και δεν εκτελούνται ποτέ.

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Optimize Runtime;

Iteratively optimize a specified workload by choosing suitable metrics and diagnostic tools, making causal code changes, remeasuring and validating outputs until no actionable axes remain. Use for sustained CPU, GPU, renderer, training, I/O or memory optimization; use a profiling skill for a single capture and tune-hyperparameters for learning-parameter search.

Γιατί να χρησιμοποιήσετε τη δεξιότητα Optimize Runtime στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Optimize Runtime είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη Optimize Runtime στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε το https://github.com/Scripter36/InstantMimic/tree/main/plugins/instantmimic-workflows/skills/optimize-runtime. Το TypingMind διαβάζει το αρχείο SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Optimize Runtime;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη Optimize Runtime;

Με όσα θέλετε. Εφόσον ένα μοντέλο υποστηρίζει δεξιότητες, μπορείτε να χρησιμοποιήσετε τη Optimize Runtime με αυτό — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama και άλλα — όλα στο TypingMind με τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Optimize Runtime;

Ναι. Δημοσιεύεται στο GitHub από τον χρήστη Scripter36 με την άδεια χρήσης Apache-2.0. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Στήστε δικό σας χώρο εργασίας AI τώρα

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇