MV Making a plugin load skill/state notes before engine?

I have a software that lets me design my skills way more efficiently but I have realized that if I want to add cooldown to a skill, I currently just add it via $dataSkills.cooldown = x;.
I am unsure wheter this works now that I am thinking about, I believe it does but it was a long time since I tested. But the functionality isn't the issue. I am more interested in knowing if I can add notetags via the script and that the notes will then be read by the subsequent plugins using it.

So the process I am after looks like this:
BISH.Skills.generate;
YEP.InstantCast;

So now YEP-plugin will read the note section. Or any other plugin for that matter. I know about plugin order, but if that is the case how would I make my function actually operate first?

Is this something that would be implementable?

Best regards,
Bump; I am getting some viewers on this, but no replies. Is it unclear what I am asking for or is it just that the solution is not known?

Best regards,
The core scripts process database notes into meta objects when the database loads, via DataManager.onLoad. I imagine you can run your pre-process code before the existing onLoad code, e.g.
JavaScript:
(function(alias) {
  DataManager.onLoad = function(object) {
    // TODO: edit object.note here
    alias.apply(this, arguments);
  };
})(DataManager.onLoad);
The core scripts process database notes into meta objects when the database loads, via DataManager.onLoad. I imagine you can run your pre-process code before the existing onLoad code, e.g.
JavaScript:
(function(alias) {
  DataManager.onLoad = function(object) {
    // TODO: edit object.note here
    alias.apply(this, arguments);
  };
})(DataManager.onLoad);
Thanks a lot, gonna try it out. In bed at the moment and I just want to ask if alias if placeholder for my functions name or if it is an actual reference, can't look now, as I am in bed 😛
alias is just a local identifier, a.k.a. variable name. These two snippets do the same thing:
JavaScript:
(function() {                               // anonymous IIFE for scope
  var alias = DataManager.onLoad;           // store original method
  DataManager.onLoad = function(object) {   // redefine method
    alias.apply(this, arguments);           // invoke original method
  };
})();
JavaScript:
(function(alias) {                          // anonymous IIFE with 1 argument
  DataManager.onLoad = function(object) {   // redefine method
    alias.apply(this, arguments);           // call original method
  };
})(DataManager.onLoad);                     // invoke IIFE with 1 argument = original method
I'm using IIFEs here for scoping, to avoid polluting the global namespace. This might not be necessary depending on how you have structured your code. More details here~

Original thread: https://forums.rpgmakerweb.com/threads/making-a-plugin-load-skill-state-notes-before-engine.138110/